From 96be2a86ca0a06d7f051e6c5567de88ec73592ee Mon Sep 17 00:00:00 2001 From: kuaifan Date: Sun, 9 Mar 2025 18:17:18 +0800 Subject: [PATCH] no message --- resources/assets/js/directives/touchclick.js | 6 +-- .../manage/components/ChatInput/index.vue | 39 +++++++++++++++---- 2 files changed, 35 insertions(+), 10 deletions(-) diff --git a/resources/assets/js/directives/touchclick.js b/resources/assets/js/directives/touchclick.js index bf5031c4e..3f3d5fc26 100755 --- a/resources/assets/js/directives/touchclick.js +++ b/resources/assets/js/directives/touchclick.js @@ -25,10 +25,10 @@ export default { } } }, - end: _ => { + end: e => { if (touchData.time > 0) { if (!touchData.move && $A.dayjs().valueOf() - touchData.time < 300) { - binding.value(); + binding.value(e, el); } touchData.time = 0; } @@ -40,7 +40,7 @@ export default { } else { el.__clickEvent__ = e => { e.preventDefault(); - binding.value(); + binding.value(e, el); }; el.addEventListener('click', el.__clickEvent__); } diff --git a/resources/assets/js/pages/manage/components/ChatInput/index.vue b/resources/assets/js/pages/manage/components/ChatInput/index.vue index 1b99646b2..00e9d66a1 100755 --- a/resources/assets/js/pages/manage/components/ChatInput/index.vue +++ b/resources/assets/js/pages/manage/components/ChatInput/index.vue @@ -30,7 +30,7 @@
{{$L('编辑消息')}}
{{$A.getMsgSimpleDesc(quoteData)}}
- + @@ -227,15 +227,15 @@