fix: 数据集权限问题导致视图没有字段

This commit is contained in:
junjie 2021-07-22 18:23:33 +08:00
parent f2ac1b6a6c
commit 6903d30de0

View File

@ -709,6 +709,19 @@ export default {
this.httpRequest.msg = err.response.data.message
return true
})
} else {
post('/dataset/table/getFieldsFromDE', { id: id }).then(response => {
this.dimension = response.data.dimension
this.quota = response.data.quota
this.dimensionData = JSON.parse(JSON.stringify(this.dimension))
this.quotaData = JSON.parse(JSON.stringify(this.quota))
this.fieldFilter(this.searchField)
}).catch(err => {
this.resetView()
this.httpRequest.status = err.response.data.success
this.httpRequest.msg = err.response.data.message
return true
})
}
},
save(getData, trigger, needRefreshGroup = false) {