he2802 пре 4 година
родитељ
комит
989d26f292
2 измењених фајлова са 3 додато и 2 уклоњено
  1. 2 2
      common/request.js
  2. 1 0
      pages2/wd/avatar.vue

+ 2 - 2
common/request.js

@@ -1,6 +1,6 @@
-const BASE_URL = 'http://192.168.1.222:8088'
+//const BASE_URL = 'http://192.168.1.222:8088'
 //const BASE_URL = 'http://127.0.0.1:8088' 
-// const BASE_URL = 'https://api.xyyxt.net' 
+ const BASE_URL = 'https://api.xyyxt.net' 
 import store from '@/store/index.js'
 import api from './api.js'
 var num = 1

+ 1 - 0
pages2/wd/avatar.vue

@@ -157,6 +157,7 @@
 				    count: 1, //默认9
 				    sizeType: [ 'compressed'], //可以指定是原图还是压缩图,默认二者都有
 				    success: function (res) {
+						console.log(that.avatarUrl,999)
 						that.avatarUrl = res.tempFilePaths[0]
 				    }
 				});