From 731babce129e849ce5956ea2d4335ea7766bc821 Mon Sep 17 00:00:00 2001 From: jingrow Date: Sat, 1 Nov 2025 21:25:54 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8A=82=E7=82=B9=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E5=88=97=E5=A2=9E=E5=8A=A0=E7=BC=96=E8=BE=91?= =?UTF-8?q?schema=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/core/components/SchemaEditorModal.vue | 3 +- .../local_ai_node_list_actions.vue | 179 ++++++++++++++++++ 2 files changed, 181 insertions(+), 1 deletion(-) create mode 100644 apps/jingrow/frontend/src/views/pagetype/local_ai_node/local_ai_node_list_actions.vue diff --git a/apps/jingrow/frontend/src/core/components/SchemaEditorModal.vue b/apps/jingrow/frontend/src/core/components/SchemaEditorModal.vue index 1e81d6a..881f913 100644 --- a/apps/jingrow/frontend/src/core/components/SchemaEditorModal.vue +++ b/apps/jingrow/frontend/src/core/components/SchemaEditorModal.vue @@ -125,6 +125,7 @@ const handleClose = () => { const handleOverlayClick = (e: MouseEvent) => { if (e.target === e.currentTarget) { + e.stopPropagation() // 阻止事件冒泡,避免触发列表项的点击事件 handleClose() } } @@ -161,7 +162,7 @@ onUnmounted(() => { right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); - z-index: 1000; + z-index: 10000; /* 提高 z-index,确保在列表项之上 */ display: flex; align-items: center; justify-content: center; diff --git a/apps/jingrow/frontend/src/views/pagetype/local_ai_node/local_ai_node_list_actions.vue b/apps/jingrow/frontend/src/views/pagetype/local_ai_node/local_ai_node_list_actions.vue new file mode 100644 index 0000000..87cd1e8 --- /dev/null +++ b/apps/jingrow/frontend/src/views/pagetype/local_ai_node/local_ai_node_list_actions.vue @@ -0,0 +1,179 @@ + + + + + +