From c86414a242f36b5f62cd1cd9635f0c22584ea04a Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Sun, 12 Mar 2023 22:27:52 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E6=B7=BB=E5=8A=A0=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E9=BB=98=E8=AE=A4=E6=8E=92=E5=BA=8F=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 2de0add2e87bca143dd9bf63f4bd363c47b07702 --- src/views/system/dept/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index c300ed02..18a9763b 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -32,7 +32,8 @@ const deptOptions = ref(); const formData = reactive({ status: 1, - parentId: 0 + parentId: 0, + sort: 1 }); const rules = reactive({ @@ -177,6 +178,7 @@ function resetForm() { formData.id = undefined; formData.parentId = 0; formData.status = 1; + formData.sort = 1; } onMounted(() => {