Commit e55b423c by 李伟康

commit 提交

1 parent 724aed4e
......@@ -3,7 +3,7 @@
<zoom-pan
:class="['canvas-box',{fill:custom}]"
:disabled="drawStatus || !scaleSwitch"
:scale-max="5"
:scale-max="3"
:scale-min="1"
@scale="scale"
>
......
const target = ["ip", "dev", "uat", "prod", "beta"];
const index = 4;
const index = 2;
/**
*
0本地
......
......@@ -204,6 +204,7 @@ export default {
}
},
touchEnd (e) {
if(this.modeName) return
try {
let { toolList, drawStatus, startX, screenWidth, id, scaleValueObject, productModelStatus } = this
if (!e || !e.changedTouches || drawStatus || toolList.length == 0 || e.changedTouches.length === 0) return
......@@ -219,7 +220,7 @@ export default {
this.$emit('update:id', nextId)
setTimeout(() => {
this.modeName = ''
}, 300)
}, 500)
}
} catch (error) {
console.log(error)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!