From 8c2a0b5886edfcbc6bc1a670bbdf31e501126d68 Mon Sep 17 00:00:00 2001 From: AN <1983933789@qq.com> Date: Wed, 21 May 2025 22:01:53 +0800 Subject: [PATCH 01/31] fix: update scroll-x property to use dynamic calculation based on column size --- docs/template/index-tree.vue.vm | 3 ++- docs/template/index.vue.vm | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/template/index-tree.vue.vm b/docs/template/index-tree.vue.vm index 0ab2b7b7..0ad06679 100644 --- a/docs/template/index-tree.vue.vm +++ b/docs/template/index-tree.vue.vm @@ -1,3 +1,4 @@ +#set($scrollX = $columns.size() * 120 + 242) 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 10/31] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E6=96=B0=E5=A2=9E=E4=B8=8A=E7=BA=A7=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E5=9B=9E=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(); +}