},
watch: {
cbFiles: {
handler(newVal, oldVal) {
if (!newVal){
return
}
if(this.fileLists){
this.fileLists=[];
}
this.adjustFileList(newVal)
},
deep: true,
immediate:true,
},
permission () {
if (this.permission != ‘premission’) {
const that = this
this.elLinks.forEach(link => {
that.elLinks = that.$utils.arrRemoveItem(link,that.elLinks)
})
}
}
}
}