|
@@ -232,9 +232,15 @@ export default defineComponent({
|
|
state.ruleForm = {
|
|
state.ruleForm = {
|
|
...form
|
|
...form
|
|
}
|
|
}
|
|
|
|
+ const formWrap = unref(formRef) as any;
|
|
|
|
+ if (formWrap) {
|
|
|
|
+ formWrap.resetFields();
|
|
|
|
+ }
|
|
}
|
|
}
|
|
// 关闭弹窗
|
|
// 关闭弹窗
|
|
const closeDialog = () => {
|
|
const closeDialog = () => {
|
|
|
|
+ resetForm();
|
|
|
|
+
|
|
state.isShowDialog = false
|
|
state.isShowDialog = false
|
|
}
|
|
}
|
|
// 取消
|
|
// 取消
|