Merge pull request #294 from dataease/pr@dev@refactor_视图样式界面调整

fix: 数据集权限问题导致视图没有字段
This commit is contained in:
XiaJunjie2020 2021-07-22 18:24:31 +08:00 committed by GitHub
commit 3e9b4275fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {