From b5057af31ebd6c69e5e5f9ae5fd3ef7f64a7169e Mon Sep 17 00:00:00 2001 From: zhengxinonly Date: Wed, 31 Jan 2024 23:51:10 +0800 Subject: [PATCH] =?UTF-8?q?fix(templates):=20=E4=BF=AE=E5=A4=8D=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=86=85=E5=AE=B9=E6=97=B6=E8=BF=98=E5=AD=98=E7=95=99?= =?UTF-8?q?=E7=BC=93=E5=AD=98=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/system/department/index.html | 1 + templates/system/rights/index.html | 1 + templates/system/role/index.html | 1 + templates/system/user/index.html | 1 + 4 files changed, 4 insertions(+) diff --git a/templates/system/department/index.html b/templates/system/department/index.html index 9b64d50..ea1ca0e 100644 --- a/templates/system/department/index.html +++ b/templates/system/department/index.html @@ -168,6 +168,7 @@ treeTable.on("toolbar(department-table)", function (obj) { if (obj.event === "department-toolbar-add") { + $("#department-form")[0].reset(); layer.open({ type: 1, shade: false, diff --git a/templates/system/rights/index.html b/templates/system/rights/index.html index 6a6f4d8..4d8fa0e 100644 --- a/templates/system/rights/index.html +++ b/templates/system/rights/index.html @@ -279,6 +279,7 @@ treeTable.on("toolbar(rights-table)", function (obj) { if (obj.event === "rights-toolbar-add") { + $("#rights-form")[0].reset(); layer.open({ type: 1, shade: false, diff --git a/templates/system/role/index.html b/templates/system/role/index.html index f2d9ee1..b54f76e 100644 --- a/templates/system/role/index.html +++ b/templates/system/role/index.html @@ -204,6 +204,7 @@ table.on("toolbar(role-table)", function (obj) { if (obj.event === "role-toolbar-add") { + $("#role-form")[0].reset(); layer.open({ type: 1, shade: false, diff --git a/templates/system/user/index.html b/templates/system/user/index.html index 71d0943..268565b 100644 --- a/templates/system/user/index.html +++ b/templates/system/user/index.html @@ -218,6 +218,7 @@ table.on("toolbar(user-table)", function (obj) { if (obj.event === "user-toolbar-add") { + $("#user-form")[0].reset(); layer.open({ type: 1, shade: false,