From 1e11e10c56e939e6ebb653d1b929990727b70243 Mon Sep 17 00:00:00 2001 From: yinbangzhong <zhongbangyin@126.com> Date: 星期六, 03 八月 2024 22:51:29 +0800 Subject: [PATCH] 权限资源bug --- src/views/dmx/IntelligentAgent/components/addAgent.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/views/dmx/IntelligentAgent/components/addAgent.vue b/src/views/dmx/IntelligentAgent/components/addAgent.vue index a5c2c6d..cbfb80d 100644 --- a/src/views/dmx/IntelligentAgent/components/addAgent.vue +++ b/src/views/dmx/IntelligentAgent/components/addAgent.vue @@ -23,7 +23,7 @@ <div style="width: 100%;text-align: right"> <a-button @click="visible = false">鍙栨秷</a-button> <a-button style="margin-left: 10px" type="primary" html-type="submit">纭畾</a-button> - <editAgent ref="editAgentKuai" typeAngint="add" :formData="form"></editAgent> + <editAgent ref="editAgentKuai" typeAngint="add" :formData="form" @cancelModal="handleCancel"></editAgent> </div> </a-form-item> </a-form> @@ -103,6 +103,8 @@ const handleCancel = () => { visible.value = false; + formRef.value.resetFields(); + form.name = '' } const handleOpened =(el) => { -- Gitblit v1.8.0