From 2243c9016feede8fd2703c62e4615444821d4133 Mon Sep 17 00:00:00 2001
From: liudong <liudong>
Date: 星期一, 05 八月 2024 09:41:35 +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