From d916dfba2efa2d9359f5b432350a15e5ed1a0af4 Mon Sep 17 00:00:00 2001
From: houzhongjian <houzhongyi@126.com>
Date: 星期五, 18 十月 2024 13:58:31 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/views/model/mpk/file/MpkForm.vue |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/views/model/mpk/file/MpkForm.vue b/src/views/model/mpk/file/MpkForm.vue
index b7a937a..bc18d62 100644
--- a/src/views/model/mpk/file/MpkForm.vue
+++ b/src/views/model/mpk/file/MpkForm.vue
@@ -47,10 +47,12 @@
               :on-success="submitFormSuccess"
               accept=".pyd"
             >
-              <el-button type="primary">
-                <Icon icon="ep:upload"/>
-                模型上传
-              </el-button>
+              <el-tooltip content="上传.pyd算法文件" placement="top" effect="light">
+                <el-button type="primary">
+                  <Icon icon="ep:upload"/>
+                  模型上传
+                </el-button>
+              </el-tooltip>
             </el-upload>
           </el-col>
         </el-row>
@@ -195,7 +197,7 @@
                       <el-button
                         @click="updateSetting(scope.row)"
                         key="danger"
-                        type="danger"
+                        type="primary"
                         link
                       >修改
                       </el-button>
@@ -265,6 +267,10 @@
   // 修改setting
   const updateSetting = (info) => {
     settingFormRef.value.open(info)
+  }
+  // 删除setting
+  const deleteSetting = (methodSettings,index) => {
+    methodSettings.splice(index, 1);
   }
 
   const methodExpandedRowKeys = ref([])
@@ -449,7 +455,7 @@
           methodName: 'train',
           dataLength: 1,
           model: 0,
-          resultKey: undefined,
+          resultKey: 'result',
           methodSettings: []
         },
         {

--
Gitblit v1.9.3