Commit 40f640fd by 李伟康

commit 修复

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