refactor: 所有业务线的接口调用添加TypeScript类型声明描述
This commit is contained in:
@@ -261,6 +261,7 @@ async function loadDeptOptions() {
|
||||
* 表单重置
|
||||
**/
|
||||
function resetForm() {
|
||||
state.formData.id = undefined;
|
||||
dataFormRef.value.resetFields();
|
||||
}
|
||||
|
||||
|
||||
@@ -238,6 +238,7 @@ function submitForm() {
|
||||
}
|
||||
|
||||
function resetForm() {
|
||||
state.formData.id = undefined;
|
||||
dataFormRef.value.resetFields();
|
||||
}
|
||||
|
||||
|
||||
@@ -277,6 +277,7 @@ function submitForm() {
|
||||
}
|
||||
|
||||
function resetForm() {
|
||||
state.formData.id = undefined;
|
||||
dataFormRef.value.resetFields();
|
||||
}
|
||||
|
||||
|
||||
@@ -403,6 +403,7 @@ function handleDelete(row: any) {
|
||||
* 重置表单
|
||||
*/
|
||||
function resetForm() {
|
||||
state.formData.id = undefined;
|
||||
dataFormRef.value.resetFields();
|
||||
}
|
||||
|
||||
|
||||
@@ -303,7 +303,7 @@ import {
|
||||
UserFormData,
|
||||
Option,
|
||||
RoleItem,
|
||||
Dialog,
|
||||
Dialog
|
||||
} from "@/types";
|
||||
|
||||
// DOM元素的引用声明定义
|
||||
@@ -559,6 +559,7 @@ function submitForm() {
|
||||
* 重置表单
|
||||
*/
|
||||
function resetForm() {
|
||||
state.formData.id = undefined;
|
||||
dataFormRef.value.resetFields();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user