-
+
@@ -562,6 +562,7 @@ export default {
this.$store.commit('resetViewEditInfo')
},
mounted() {
+ debugger
// this.insertToBody()
bus.$on('component-on-drag', () => {
this.show = false
@@ -618,6 +619,10 @@ export default {
initPanelData(panelId, function() {
// 初始化视图缓存
initViewCache(panelId)
+ // 初始化保存状态
+ setTimeout(() => {
+ _this.$store.commit('refreshSaveStatus')
+ }, 500)
// initPanelComponentsData(panelId, function(rsp) {
// _this.$store.commit('initPanelComponents', rsp)// 初始化仪表板组件视图数据
// _this.$store.commit('recordSnapshot', 'init')// 记录快照