From be7585d8569c3c1cab03950d1a26492ebd9e8b46 Mon Sep 17 00:00:00 2001 From: AN <1983933789@qq.com> Date: Wed, 28 May 2025 11:18:01 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=B8=8A=E7=BA=A7=E9=83=A8=E9=97=A8=E5=9B=9E?= =?UTF-8?q?=E6=98=BEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/dept/index.vue | 7 ++++++- src/views/system/dept/modules/dept-operate-drawer.vue | 5 +++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index d41820a6..315caed8 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -158,6 +158,11 @@ async function addInRow(row: TableDataWithIndex) { editingData.value = jsonClone(row); handleAdd(); } + +async function handleAddOperate() { + editingData.value = null; + handleAdd(); +}