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(() => {