微盘权限设置
This commit is contained in:
@@ -259,6 +259,13 @@
|
||||
})))
|
||||
this.userIds = this.chooseUser.map(v => v[this.props.id])
|
||||
}
|
||||
},
|
||||
|
||||
disabledList: {
|
||||
handler () {
|
||||
this.getList()
|
||||
},
|
||||
deep: true
|
||||
}
|
||||
},
|
||||
|
||||
@@ -431,7 +438,10 @@
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.list = res.data.records.map(v => {
|
||||
console.log(this.disabledList)
|
||||
this.list = res.data.records.filter(v => {
|
||||
return this.disabledList.indexOf(v.id) === -1
|
||||
}).map(v => {
|
||||
return {
|
||||
...v,
|
||||
isChecked: false
|
||||
|
||||
Reference in New Issue
Block a user