forked from github/dataease
fix(仪表板): 修复预览复用预览视图未显示问题
This commit is contained in:
parent
8130b56f9a
commit
6d86eaba54
@ -159,7 +159,8 @@ export default {
|
||||
computed: {
|
||||
chart() {
|
||||
if (this.config.propValue?.viewId) {
|
||||
return JSON.parse(this.panelViewDetailsInfo[this.config.propValue.viewId])
|
||||
const viewInfo = this.panelViewDetailsInfo[this.config.propValue.viewId];
|
||||
return viewInfo?JSON.parse(viewInfo):null
|
||||
}
|
||||
return null
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user