fix: 撤销或者重做时,视图矩阵模式可能失效的问题

This commit is contained in:
wangjiahao 2021-10-12 12:45:10 +08:00
parent a0a823bbd3
commit 9fbfde2313

View File

@ -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
}
},