用户管理启用禁用

This commit is contained in:
fengachen
2021-09-10 11:14:39 +08:00
parent 9bbe7ae7ef
commit 5792523d10
3 changed files with 89 additions and 49 deletions
+5
View File
@@ -129,8 +129,12 @@
}
this.picUrl = true
let arr = paths.split(',')
console.log(this.fileList)
for(var a=0;a<arr.length;a++){
this.fileList.forEach((item)=>{
if(this.returnId){
item.url = this.getImgUrl(item.response.result.id,item.name)
}
if (item.url === arr[a]){
item.uid = uidGenerator()
item.response.status = 'history'
@@ -189,6 +193,7 @@
getAvatarView(){
if(this.fileList.length>0){
let url = this.fileList[this.fileList.length-1].url
// console.log( getFileAccessHttpUrl(url),'url')
return getFileAccessHttpUrl(url)
}
},