Merge pull request #2331 from dataease/pr@dev@fix-panel-unpublished

refactor: 仪表板未发布状态显示优化
This commit is contained in:
王嘉豪 2022-05-27 12:09:11 +08:00 committed by GitHub
commit 78bfb0cc58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,7 +59,7 @@ export default {
privileges: res.data.privileges, privileges: res.data.privileges,
status: res.data.status status: res.data.status
} }
this.$store.dispatch('panel/setPanelInfo', panelInfo) this.$store.dispatch('panel/setPanelInfo', this.panelInfo)
panelInit(JSON.parse(res.data.panelData), JSON.parse(res.data.panelStyle)) panelInit(JSON.parse(res.data.panelData), JSON.parse(res.data.panelStyle))
// title // title