forked from github/dataease
fix: 撤销或者重做时,视图矩阵模式可能失效的问题
This commit is contained in:
parent
a0a823bbd3
commit
9fbfde2313
@ -967,7 +967,8 @@ export default {
|
||||
'canvasStyleData',
|
||||
'editor',
|
||||
'linkageSettingStatus',
|
||||
'curLinkageView'
|
||||
'curLinkageView',
|
||||
'snapshotIndex'
|
||||
])
|
||||
},
|
||||
watch: {
|
||||
@ -1019,6 +1020,14 @@ export default {
|
||||
// console.log('positionBox:' + JSON.stringify(positionBox))
|
||||
},
|
||||
deep: true
|
||||
},
|
||||
// 镜像索引有变化 刷新一下矩阵(撤销重做等)
|
||||
snapshotIndex: {
|
||||
handler(newVal, oldVla) {
|
||||
console.log('snapshotIndexChange:' + newVal)
|
||||
this.initMatrix()
|
||||
},
|
||||
deep: true
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user