shuchang 2 月之前
父節點
當前提交
e30e03e7e8
共有 2 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      pages/subpack/pages/myInfo/info.vue
  2. 2 2
      utils/request/index.js

+ 1 - 1
pages/subpack/pages/myInfo/info.vue

@@ -97,7 +97,7 @@
 				if (res.confirm) {
 					proxy.$u.vuex('vuex_token', '');
 					proxy.$u.vuex('vuex_login', false);
-					uni.redirectTo({
+					uni.reLaunch({ 	
 						url: '/pages/subpack/pages/login/login'
 					})
 				}

+ 2 - 2
utils/request/index.js

@@ -10,8 +10,8 @@ import {
 //  初始化请求配置
 const initRequest = (vm) => {
 	http.setConfig((defaultConfig) => {
-		defaultConfig.baseURL = 'http://133.46.152.185' /* 根域名 */
-		// defaultConfig.baseURL = 'http://tkhtest.natapp1.cc' /* 根域名 */
+		// defaultConfig.baseURL = 'http://133.46.152.185' /* 根域名 */
+		defaultConfig.baseURL = 'http://tkhtest.natapp1.cc' /* 根域名 */
 		// defaultConfig.baseURL = 'http://127.0.0.1' /* 根域名 */
 		defaultConfig = {
 			...defaultConfig,