提交 e7a85a2d 编写于 作者: D dolymood

refactor(image-preview): remove longTap prop

上级 477d228c
......@@ -77,15 +77,9 @@
type: Number,
default: 400
},
longTapSave: {
type: Boolean,
default: false
},
preventDefault: {
type: Boolean,
default() {
return !this.longTapSave
}
default: true
}
},
data() {
......@@ -97,7 +91,6 @@
left: true,
right: true
},
click: !this.longTapSave,
useTransition: !isAndroid,
probeType: 3,
preventDefault: this.preventDefault
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册