From 6236d238a05339d1c42a602242f6c391da56be31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Thu, 12 Feb 2026 09:41:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=A0=E9=99=A4=E5=92=8C?= =?UTF-8?q?=E4=B8=BE=E6=8A=A5=E9=80=BB=E8=BE=91=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/plugins/video/components/comment-info.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/plugins/video/components/comment-info.vue b/pages/plugins/video/components/comment-info.vue index 59f1d225..8783d226 100644 --- a/pages/plugins/video/components/comment-info.vue +++ b/pages/plugins/video/components/comment-info.vue @@ -11,7 +11,7 @@ - + {{ item.label }} @@ -61,8 +61,8 @@ dropdownVisible: false, // 下拉菜单选项数据 dropdownOptions: [ - { label: '删除', command: 'delete' }, - { label: '举报', command: 'report' } + { label: '删除', type: 'delete' }, + { label: '举报', type: 'report' } ] }; }, @@ -104,7 +104,8 @@ } }, // 处理下拉菜单项点击 - handle_dropdown_item_click(item) { + handle_dropdown_item_click(e) { + const item = e.currentTarget.dataset.value || {}; console.log('点击:', item.label); uni.showToast({ title: item.label, icon: 'none' }); this.dropdownVisible = false;