forked from github/dataease
fix(仪表板): 仪表板编辑状态点击浏览器回退后仪表板预览界面无法显示问题 (#2941)
Co-authored-by: wangjiahao <1522128093@qq.com>
This commit is contained in:
parent
e71d6a6b90
commit
cb12d7d40c
@ -34,6 +34,7 @@ export default {
|
||||
if (this.componentName === 'PanelEdit') {
|
||||
next(false)
|
||||
if (confirm(this.$t('panel.edit_leave_tips'))) {
|
||||
bus.$emit('PanelSwitchComponent', { name: 'PanelMain' })
|
||||
next()
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user