Commit 40f640fd by 李伟康

commit 修复

1 parent 2d9788e4
...@@ -48,14 +48,17 @@ export default { ...@@ -48,14 +48,17 @@ export default {
}; };
}, },
watch: { watch: {
watchStatus () { watchStatus: {
if (this.defalutscale != 1) this.defalutscale = 1.1 immediate: true,
handler (newval) {
if (this.scale != 1) this.defalutscale = 1.1
this.scale = 1 this.scale = 1
this.transformOriginStyle = `50% 50%'` this.transformOriginStyle = `50% 50%'`
setTimeout(() => { setTimeout(() => {
this.defalutscale = 1 this.defalutscale = 1
}, 100) }, 100)
} }
}
}, },
computed: { computed: {
watchStatus () { watchStatus () {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!