forked from github/dataease
fix: 撤销或者重做时,视图矩阵模式记录镜像位置不准确问题
This commit is contained in:
parent
9fbfde2313
commit
e9acd38621
@ -1254,11 +1254,15 @@ export default {
|
||||
// this.recordMatrixCurStyle()
|
||||
setTimeout(() => {
|
||||
this.recordMatrixCurShadowStyle()
|
||||
this.hasMove && this.$store.commit('recordSnapshot', 'handleUp')
|
||||
// 记录snapshot后 移动已记录设置为false
|
||||
this.hasMove = false
|
||||
}, 100)
|
||||
}else{
|
||||
this.hasMove && this.$store.commit('recordSnapshot', 'handleUp')
|
||||
// 记录snapshot后 移动已记录设置为false
|
||||
this.hasMove = false
|
||||
}
|
||||
this.hasMove && this.$store.commit('recordSnapshot', 'handleUp')
|
||||
// 记录snapshot后 移动已记录设置为false
|
||||
this.hasMove = false
|
||||
|
||||
removeEvent(document.documentElement, eventsFor.move, this.move)
|
||||
|
||||
|
@ -1024,7 +1024,7 @@ export default {
|
||||
// 镜像索引有变化 刷新一下矩阵(撤销重做等)
|
||||
snapshotIndex: {
|
||||
handler(newVal, oldVla) {
|
||||
console.log('snapshotIndexChange:' + newVal)
|
||||
// console.log('snapshotIndexChange:' + newVal)
|
||||
this.initMatrix()
|
||||
},
|
||||
deep: true
|
||||
|
Loading…
Reference in New Issue
Block a user