forked from github/dataease
fix(过滤器): 非管理员删除过滤器字段报错无权限
This commit is contained in:
parent
e19e3ccc2f
commit
27b2af4813
@ -87,9 +87,13 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
loadFields() {
|
||||
if (this.firstTableId) {
|
||||
fieldListWithPermission(this.firstTableId).then(res => {
|
||||
this.tableFields = JSON.parse(JSON.stringify(res.data))
|
||||
})
|
||||
} else {
|
||||
this.tableFields = []
|
||||
}
|
||||
},
|
||||
onMove(e, originalEvent) {
|
||||
return true
|
||||
|
Loading…
Reference in New Issue
Block a user