diff --git a/yudao-ui-admin-vue3/src/views/bpm/form/index.vue b/yudao-ui-admin-vue3/src/views/bpm/form/index.vue index 2fb70aabf..35156e854 100644 --- a/yudao-ui-admin-vue3/src/views/bpm/form/index.vue +++ b/yudao-ui-admin-vue3/src/views/bpm/form/index.vue @@ -35,8 +35,6 @@ const setDialogTile = (type: string) => { // 新增操作 const handleCreate = () => { setDialogTile('create') - // 重置表单 - unref(formRef)?.getElFormRef()?.resetFields() } // 修改操作 diff --git a/yudao-ui-admin-vue3/src/views/bpm/group/index.vue b/yudao-ui-admin-vue3/src/views/bpm/group/index.vue index fe327f9e4..4278c3636 100644 --- a/yudao-ui-admin-vue3/src/views/bpm/group/index.vue +++ b/yudao-ui-admin-vue3/src/views/bpm/group/index.vue @@ -47,8 +47,6 @@ const setDialogTile = (type: string) => { const handleCreate = () => { setDialogTile('create') userIds.value = [] - // 重置表单 - unref(formRef)?.getElFormRef()?.resetFields() } // 修改操作 diff --git a/yudao-ui-admin-vue3/src/views/bpm/model/index.vue b/yudao-ui-admin-vue3/src/views/bpm/model/index.vue index b85c50990..96fe717c2 100644 --- a/yudao-ui-admin-vue3/src/views/bpm/model/index.vue +++ b/yudao-ui-admin-vue3/src/views/bpm/model/index.vue @@ -37,8 +37,6 @@ const setDialogTile = (type: string) => { // 新增操作 const handleCreate = () => { setDialogTile('create') - // 重置表单 - unref(formRef)?.getElFormRef()?.resetFields() } // 修改操作 diff --git a/yudao-ui-admin-vue3/src/views/infra/config/index.vue b/yudao-ui-admin-vue3/src/views/infra/config/index.vue index b7a3c4b9d..e7753d3fa 100644 --- a/yudao-ui-admin-vue3/src/views/infra/config/index.vue +++ b/yudao-ui-admin-vue3/src/views/infra/config/index.vue @@ -36,8 +36,6 @@ const setDialogTile = (type: string) => { // 新增操作 const handleCreate = () => { setDialogTile('create') - // 重置表单 - unref(formRef)?.getElFormRef()?.resetFields() } // 修改操作 diff --git a/yudao-ui-admin-vue3/src/views/infra/dataSourceConfig/index.vue b/yudao-ui-admin-vue3/src/views/infra/dataSourceConfig/index.vue index c8b363c1e..0dead0425 100644 --- a/yudao-ui-admin-vue3/src/views/infra/dataSourceConfig/index.vue +++ b/yudao-ui-admin-vue3/src/views/infra/dataSourceConfig/index.vue @@ -30,8 +30,6 @@ const setDialogTile = (type: string) => { // 新增操作 const handleCreate = () => { setDialogTile('create') - // 重置表单 - unref(formRef)?.getElFormRef()?.resetFields() } // 修改操作 diff --git a/yudao-ui-admin-vue3/src/views/infra/fileConfig/index.vue b/yudao-ui-admin-vue3/src/views/infra/fileConfig/index.vue index b24bbb534..60be04373 100644 --- a/yudao-ui-admin-vue3/src/views/infra/fileConfig/index.vue +++ b/yudao-ui-admin-vue3/src/views/infra/fileConfig/index.vue @@ -36,8 +36,6 @@ const setDialogTile = (type: string) => { // 新增操作 const handleCreate = () => { setDialogTile('create') - // 重置表单 - unref(formRef)?.getElFormRef()?.resetFields() } // 修改操作 diff --git a/yudao-ui-admin-vue3/src/views/infra/job/index.vue b/yudao-ui-admin-vue3/src/views/infra/job/index.vue index e5b9fff9e..22c11c275 100644 --- a/yudao-ui-admin-vue3/src/views/infra/job/index.vue +++ b/yudao-ui-admin-vue3/src/views/infra/job/index.vue @@ -46,8 +46,6 @@ const setDialogTile = (type: string) => { const handleCreate = () => { cronExpression.value = '' setDialogTile('create') - // 重置表单 - unref(formRef)?.getElFormRef()?.resetFields() } // 修改操作 diff --git a/yudao-ui-admin-vue3/src/views/pay/app/index.vue b/yudao-ui-admin-vue3/src/views/pay/app/index.vue index 2968eb6ee..6943fcef7 100644 --- a/yudao-ui-admin-vue3/src/views/pay/app/index.vue +++ b/yudao-ui-admin-vue3/src/views/pay/app/index.vue @@ -36,8 +36,6 @@ const setDialogTile = (type: string) => { // 新增操作 const handleCreate = () => { setDialogTile('create') - // 重置表单 - unref(formRef)?.getElFormRef()?.resetFields() } // 修改操作 diff --git a/yudao-ui-admin-vue3/src/views/pay/merchant/index.vue b/yudao-ui-admin-vue3/src/views/pay/merchant/index.vue index e5f3e7ea1..94c75eec6 100644 --- a/yudao-ui-admin-vue3/src/views/pay/merchant/index.vue +++ b/yudao-ui-admin-vue3/src/views/pay/merchant/index.vue @@ -36,8 +36,6 @@ const setDialogTile = (type: string) => { // 新增操作 const handleCreate = () => { setDialogTile('create') - // 重置表单 - unref(formRef)?.getElFormRef()?.resetFields() } // 修改操作 diff --git a/yudao-ui-admin-vue3/src/views/pay/order/index.vue b/yudao-ui-admin-vue3/src/views/pay/order/index.vue index 25c482560..031240993 100644 --- a/yudao-ui-admin-vue3/src/views/pay/order/index.vue +++ b/yudao-ui-admin-vue3/src/views/pay/order/index.vue @@ -34,8 +34,6 @@ const setDialogTile = (type: string) => { // 新增操作 const handleCreate = () => { setDialogTile('create') - // 重置表单 - unref(formRef)?.getElFormRef()?.resetFields() } // 修改操作 diff --git a/yudao-ui-admin-vue3/src/views/system/dept/index.vue b/yudao-ui-admin-vue3/src/views/system/dept/index.vue index 54e494a19..5d1b90b6f 100644 --- a/yudao-ui-admin-vue3/src/views/system/dept/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/dept/index.vue @@ -52,7 +52,6 @@ const handleAdd = (data: { id: number }) => { // 重置表单 deptParentId.value = data.id formTitle.value = '新增部门' - unref(formRef)?.getElFormRef()?.resetFields() showForm.value = true } // 编辑 diff --git a/yudao-ui-admin-vue3/src/views/system/dict/index.vue b/yudao-ui-admin-vue3/src/views/system/dict/index.vue index fb69b8dbe..27bd9ff5d 100644 --- a/yudao-ui-admin-vue3/src/views/system/dict/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/dict/index.vue @@ -178,8 +178,6 @@ const { // 字典分类修改操作 const handleTypeCreate = () => { setDialogTile('typeCreate') - // 重置表单 - unref(typeFormRef)?.getElFormRef()?.resetFields() } const handleTypeUpdate = async (row: DictTypeVO) => { setDialogTile('typeUpdate') @@ -207,8 +205,6 @@ const { // 字典数据修改操作 const handleDataCreate = () => { setDialogTile('dataCreate') - // 重置表单 - unref(dataFormRef)?.getElFormRef()?.resetFields() } const handleDataUpdate = async (row: DictDataVO) => { setDialogTile('dataUpdate') diff --git a/yudao-ui-admin-vue3/src/views/system/errorCode/index.vue b/yudao-ui-admin-vue3/src/views/system/errorCode/index.vue index 8a8c35e61..aeb9e46c5 100644 --- a/yudao-ui-admin-vue3/src/views/system/errorCode/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/errorCode/index.vue @@ -105,8 +105,6 @@ const setDialogTile = (type: string) => { // 新增操作 const handleCreate = () => { setDialogTile('create') - // 重置表单 - unref(formRef)?.getElFormRef()?.resetFields() } // 修改操作 diff --git a/yudao-ui-admin-vue3/src/views/system/notice/index.vue b/yudao-ui-admin-vue3/src/views/system/notice/index.vue index 097c1b271..503a1a000 100644 --- a/yudao-ui-admin-vue3/src/views/system/notice/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/notice/index.vue @@ -104,8 +104,6 @@ const setDialogTile = (type: string) => { // 新增操作 const handleCreate = () => { setDialogTile('create') - // 重置表单 - unref(formRef)?.getElFormRef()?.resetFields() } // 修改操作 diff --git a/yudao-ui-admin-vue3/src/views/system/oauth2/client/index.vue b/yudao-ui-admin-vue3/src/views/system/oauth2/client/index.vue index 37ba5f90c..6814c9eee 100644 --- a/yudao-ui-admin-vue3/src/views/system/oauth2/client/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/oauth2/client/index.vue @@ -116,8 +116,6 @@ const setDialogTile = (type: string) => { // 新增操作 const handleCreate = () => { setDialogTile('create') - // 重置表单 - unref(formRef)?.getElFormRef()?.resetFields() } // 修改操作 diff --git a/yudao-ui-admin-vue3/src/views/system/post/index.vue b/yudao-ui-admin-vue3/src/views/system/post/index.vue index d44f47d93..9fd4cc5ab 100644 --- a/yudao-ui-admin-vue3/src/views/system/post/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/post/index.vue @@ -57,7 +57,7 @@