Commit e55b423c by 李伟康

commit 提交

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