Unverified 提交 3e9b4275 authored 作者: XiaJunjie2020's avatar XiaJunjie2020 提交者: GitHub

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

fix: 数据集权限问题导致视图没有字段
...@@ -709,6 +709,19 @@ export default { ...@@ -709,6 +709,19 @@ export default {
this.httpRequest.msg = err.response.data.message this.httpRequest.msg = err.response.data.message
return true 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) { save(getData, trigger, needRefreshGroup = false) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论