he2802 3 éve
szülő
commit
c5b41b805c
2 módosított fájl, 2 hozzáadás és 2 törlés
  1. 1 1
      common/request.js
  2. 1 1
      pages/wd/index.vue

+ 1 - 1
common/request.js

@@ -4,7 +4,7 @@ import store from '@/store/index.js'
 import api from './api.js'
 var num = 1
 
-export const BASE_URL = 'http://192.168.1.222:5055' //接口api  http://42.192.164.187:19005 http://192.168.1.222:5055
+export const BASE_URL = 'http://42.192.164.187:19005' //接口api  http://42.192.164.187:19005 http://192.168.1.222:5055
 
 
 export const BASE_IMG_URL = 'https://file-dev.xyyxt.net/' //图片上传api  'https://file.xyyxt.net/

+ 1 - 1
pages/wd/index.vue

@@ -130,7 +130,7 @@ export default {
 		},
 		logout() {
 			console.log(343);
-			this.$method.isLogout();
+			this.$method.exit();
 			this.isLogin = this.$method.isLogin();
 			uni.reLaunch({
 				url: '/pages/index/index'