From 6d453537c8acf92ea5d9decbf6744df07f00efb1 Mon Sep 17 00:00:00 2001 From: liudong <liudong> Date: 星期六, 03 八月 2024 22:29:25 +0800 Subject: [PATCH] 智能体管理的页面开发和功能开发 --- 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