Commit e63d41d7 by 李伟康

移除了双击打开画笔功能

1 parent 697216b5
......@@ -8,7 +8,6 @@
<template>
<view
class="detail-box"
@dblclick="dbClick"
>
<view class="nav-bar">
<view
......@@ -293,9 +292,9 @@ export default {
}
return flag
},
dbClick () {
if (!this.isPreview) this.drawStatus = !this.drawStatus
},
// dbClick () {
// if (!this.isPreview) this.drawStatus = !this.drawStatus
// },
},
};
</script>
......
......@@ -8,7 +8,6 @@
<template>
<view
class="detail-box"
@dblclick="dbClick"
>
<view
class="nav-bar"
......@@ -243,9 +242,9 @@ export default {
toPay () {
this.$refs.pay.show()
},
dbClick () {
if (!this.isPreview) this.drawStatus = !this.drawStatus
},
// dbClick () {
// if (!this.isPreview) this.drawStatus = !this.drawStatus
// },
touchStart (e) {
if (!this.drawStatus && e.changedTouches?.length) {
this.startX = e.changedTouches[0].pageX
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!