Commit e63d41d7 by 李伟康

移除了双击打开画笔功能

1 parent 697216b5
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
<template> <template>
<view <view
class="detail-box" class="detail-box"
@dblclick="dbClick"
> >
<view class="nav-bar"> <view class="nav-bar">
<view <view
...@@ -293,9 +292,9 @@ export default { ...@@ -293,9 +292,9 @@ export default {
} }
return flag return flag
}, },
dbClick () { // dbClick () {
if (!this.isPreview) this.drawStatus = !this.drawStatus // if (!this.isPreview) this.drawStatus = !this.drawStatus
}, // },
}, },
}; };
</script> </script>
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
<template> <template>
<view <view
class="detail-box" class="detail-box"
@dblclick="dbClick"
> >
<view <view
class="nav-bar" class="nav-bar"
...@@ -243,9 +242,9 @@ export default { ...@@ -243,9 +242,9 @@ export default {
toPay () { toPay () {
this.$refs.pay.show() this.$refs.pay.show()
}, },
dbClick () { // dbClick () {
if (!this.isPreview) this.drawStatus = !this.drawStatus // if (!this.isPreview) this.drawStatus = !this.drawStatus
}, // },
touchStart (e) { touchStart (e) {
if (!this.drawStatus && e.changedTouches?.length) { if (!this.drawStatus && e.changedTouches?.length) {
this.startX = e.changedTouches[0].pageX 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!