feat: There is no way the, bug 52907 52906

This commit is contained in:
super_liu
2022-06-07 11:44:43 +08:00
parent b963899dae
commit 42cf362936
@@ -2455,14 +2455,17 @@ export default {
},
methods: {
filterData(data){
let result = ''
let str1 = data.substring(0,1);
if(str1 === ','){
result = data.substring(1,data.length)
this.sarBussionessStandEO['QCDW'] = result
}else {
this.sarBussionessStandEO['QCDW'] = data
}
if(data.indexOf(",") !== -1){
let permission = data.split(",");
const list = permission.filter ( item => item !== '');
let nameNew=Array.from(list).join(',')
if(nameNew.length > 0){
nameNew = nameNew.replace("undefined","").replace(",,",",")
}
this.$set(this.sarBussionessStandEO, 'QCDW', nameNew)
}else {
this.sarBussionessStandEO['QCDW'] = data
}
},
async getTreeAsync(){