规范代码
This commit is contained in:
@@ -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(){
|
||||
|
||||
Reference in New Issue
Block a user