소스 검색

2024-8-26

cmy 2 주 전
부모
커밋
65cd96526d
3개의 변경된 파일8개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      manifest.json
  2. 5 1
      pages/public/register.vue
  3. 1 1
      store/index.js

+ 2 - 2
manifest.json

@@ -2,8 +2,8 @@
     "name" : "STAR",
     "appid" : "__UNI__0A11003",
     "description" : "",
-    "versionName" : "1.1.4",
-    "versionCode" : 114,
+    "versionName" : "1.1.5",
+    "versionCode" : 115,
     "transformPx" : false,
     "app-plus" : {
         /* 5+App特有相关 */

+ 5 - 1
pages/public/register.vue

@@ -49,7 +49,7 @@
 				</view>
 			</view>
 		    <!-- #ifdef H5 -->
-		    <view class="upload"><a href="http://www.xkstar.shop/register/yzf.apk">下载APP</a></view>
+		    <view class="upload"><a :href="baseURL+'/register/yzf.apk'">下载APP</a></view>
 		    <!-- #endif -->
 			<view><button type="green" @click="register" class="uni-button uni-button-green">{{$t('login.a7')}}</button>
 			</view>
@@ -68,6 +68,7 @@
 		getAppVersion
 	} from '@/api/index.js'
 	// #endif
+	import { mapState } from "vuex";
 	export default {
 		data() {
 			return {
@@ -85,6 +86,9 @@
 				store_name:''
 			};
 		},
+		computed: {
+			...mapState(['baseURL']),
+		},
 		onLoad(option) {
 			uni.setNavigationBarTitle({
 				title: this.$t("login.a7"),

+ 1 - 1
store/index.js

@@ -10,7 +10,7 @@ const store = new Vuex.Store({
 		baseURL:window.location.protocol + "//" + window.location.host,//请求地址配置 
 		// #endif
 		// #ifndef H5
-		baseURL: 'http://www.yzfx.shop', //正式地址配置
+		baseURL: 'http://www.polkep.xyz', //正式地址配置
 		// #endif
 		urlFile: '/index', //项目部署所在文件夹
 		loginInterceptor: false, //是否打开强制登录