mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-01 14:57:09 +08:00
refactor: 前端表单重置优化
This commit is contained in:
@@ -351,13 +351,7 @@
|
||||
* 重置表单
|
||||
*/
|
||||
const reset = () => {
|
||||
form.value = {
|
||||
id: undefined,
|
||||
name: '',
|
||||
code: '',
|
||||
description: '',
|
||||
isSystem: false,
|
||||
};
|
||||
form.value = {};
|
||||
proxy.$refs.formRef?.resetFields();
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user