forked from github/dataease
Merge pull request #294 from dataease/pr@dev@refactor_视图样式界面调整
fix: 数据集权限问题导致视图没有字段
This commit is contained in:
commit
3e9b4275fe
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user