From c8c27e808f734272fe23c88404223a0e58c943e2 Mon Sep 17 00:00:00 2001 From: kuaifan Date: Fri, 16 Jan 2026 01:14:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(chat-input):=20=E4=BF=AE=E5=A4=8D=20@=20?= =?UTF-8?q?=E6=8F=90=E5=8F=8A=E4=B8=8B=E6=8B=89=E6=A1=86=E5=B1=82=E7=BA=A7?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 设置 mention 下拉容器的 zIndex 为 modalTransferIndex + 1000, 确保在弹窗等高层级元素中正常显示。 --- resources/assets/js/pages/manage/components/ChatInput/index.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/assets/js/pages/manage/components/ChatInput/index.vue b/resources/assets/js/pages/manage/components/ChatInput/index.vue index 82be5881d..b2b6fce85 100755 --- a/resources/assets/js/pages/manage/components/ChatInput/index.vue +++ b/resources/assets/js/pages/manage/components/ChatInput/index.vue @@ -1278,6 +1278,7 @@ export default { for (let i = 0; i < containers.length; i++) { containers[i].classList.remove(...Object.values(mentionMap)); containers[i].classList.add(mentionName); + containers[i].style.zIndex = window.modalTransferIndex + 1000; } let mentionSourceCache = null; this.getMentionSource(mentionChar, searchTerm, array => {