From c4b92654f3804cb00e94fc81b08fb554d957b7c5 Mon Sep 17 00:00:00 2001
From: zhangxiao <898441624@qq.com>
Date: 星期五, 09 八月 2024 16:39:25 +0800
Subject: [PATCH] fix: 修改bug

---
 src/views/dmx/model/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/dmx/model/index.vue b/src/views/dmx/model/index.vue
index 10d127a..c1658fd 100644
--- a/src/views/dmx/model/index.vue
+++ b/src/views/dmx/model/index.vue
@@ -125,11 +125,7 @@
               </div> -->
               <div>
                 <!-- <addModel></addModel> -->
-                <a-button
-                  type="primary"
-                  :loading="loading2"
-                  @click="handleAddModel"
-                >
+                <a-button type="primary" @click="handleAddModel">
                   <template #icon>
                     <icon-plus />
                   </template>
@@ -155,6 +151,7 @@
     <addTableName
       v-model:tabShow="tabShow"
       :nameList="editList"
+      :title="title"
       @refresh-parent="refreshParentMethod"
       v-if="tabShow"
     ></addTableName>
@@ -216,6 +213,7 @@
   const modelType = ref(1);
   const handleAdd = () => {
     tabShow.value = true;
+    title.value = '娣诲姞妯″瀷';
     editList.value.llm_factory = tabKey.value;
   };
   const editList = ref({ llm_factory: '' });
@@ -233,6 +231,7 @@
     if (type == 1) {
       tabShow.value = true;
       editList.value = val;
+      title.value = '缂栬緫妯″瀷';
       editList.value.llm_factory = tabKey.value;
     } else {
       modelType.value = 2;
@@ -354,6 +353,7 @@
       font-size: 14px;
     }
   }
+
   :deep(.arco-list-col) {
     display: flex;
     flex-direction: row;

--
Gitblit v1.8.0