mirror of
https://github.com/kuaifan/dootask.git
synced 2026-08-01 19:05:55 +00:00
no message
This commit is contained in:
parent
8a60916776
commit
3042ed2628
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
0c1478303bf33e18
|
||||
a69c76934d84f5c7
|
||||
|
||||
@ -2,10 +2,10 @@ const isSupportTouch = "ontouchend" in document;
|
||||
// 长按或右键指令
|
||||
const longpress = {
|
||||
bind: function (el, binding) {
|
||||
let delay = 500,
|
||||
let delay = 501,
|
||||
callback = binding.value;
|
||||
if ($A.isJson(binding.value)) {
|
||||
delay = binding.value.delay || 500;
|
||||
delay = binding.value.delay || 501;
|
||||
callback = binding.value.callback;
|
||||
}
|
||||
if (typeof callback !== 'function') {
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<UserAvatar :userid="msgData.userid" :show-icon="false" :show-name="true" :tooltip-disabled="true"/>
|
||||
</div>
|
||||
|
||||
<div class="dialog-head" v-longpress="{delay: 300, callback: handleLongpress}">
|
||||
<div class="dialog-head" v-longpress="handleLongpress">
|
||||
<!--详情-->
|
||||
<div class="dialog-content" :class="contentClass">
|
||||
<!--文本-->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user