规范代码

This commit is contained in:
yaoyanan
2021-04-07 18:56:29 +08:00
parent 139fe266e1
commit 312fdfcd79
4 changed files with 3 additions and 10 deletions
@@ -50,7 +50,7 @@
name: 'JImageUpload',
data(){
return {
uploadAction:window._CONFIG['domianURL'] + '/sys/common/upload',
uploadAction:window._CONFIG['domianURL']+"/sys/common/upload",
uploadLoading:false,
picUrl:false,
headers:{},
@@ -110,7 +110,6 @@
}
},
created(){
console.log(window._CONFIG['domianURL'] + '/sys/common/upload')
const token = Vue.ls.get(ACCESS_TOKEN);
this.headers = {"X-Access-Token":token}
},
@@ -182,7 +181,7 @@
getAvatarView(){
if(this.fileList.length>0){
let url = this.fileList[0].url
return getFileAccessHttpUrl(url)
return url
}
},
handlePathChange(){