refactor: 添加部门默认排序值

Former-commit-id: 2de0add2e87bca143dd9bf63f4bd363c47b07702
This commit is contained in:
haoxr committed 2023-03-12 22:27:52 +08:00
1 parent 874c1f8906
commit c86414a242
1 file changed
+3 -1
+3 -1
View File
@@ -32,7 +32,8 @@ const deptOptions = ref<OptionType[]>();
const formData = reactive<DeptForm>({
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(() => {