mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-23 23:59:19 +08:00
fix(account): 创建账户时不传status字段,避免默认禁用的bug
This commit is contained in:
-2
@@ -66,7 +66,6 @@ const formData = ref<AccountDTO.CreateAccountDTO & { status?: number }>({
|
||||
departmentId: undefined,
|
||||
positionId: undefined,
|
||||
remark: '',
|
||||
status: 0,
|
||||
});
|
||||
const departmentPath = ref<number[]>([]);
|
||||
const departmentTreeOptions = ref<DepartmentCascaderOption[]>([]);
|
||||
@@ -100,7 +99,6 @@ function resetForm() {
|
||||
departmentId: undefined,
|
||||
positionId: undefined,
|
||||
remark: '',
|
||||
status: 0,
|
||||
};
|
||||
departmentPath.value = [];
|
||||
formRef.value?.resetFields();
|
||||
|
||||
Reference in New Issue
Block a user