From 0ec5384b063068ae7ed0ffe6d9c124d8c688ec69 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期四, 12 十二月 2024 18:30:59 +0800
Subject: [PATCH] 更新模型

---
 src/views/model/pre/item/MmPredictItemForm.vue |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/views/model/pre/item/MmPredictItemForm.vue b/src/views/model/pre/item/MmPredictItemForm.vue
index eb370a4..b9ba042 100644
--- a/src/views/model/pre/item/MmPredictItemForm.vue
+++ b/src/views/model/pre/item/MmPredictItemForm.vue
@@ -136,9 +136,7 @@
               <Icon icon="ep:upload"/>
               上传模型
             </el-button>
-            <el-button
-              size="small" type="primary" @click="setReplaceModelOnly(true)"
-              v-if="formType.value === 'update'">
+            <el-button type="primary"plain @click="setReplaceModelOnly(true)">
               <Icon icon="ep:upload"/>
               更新模型
             </el-button>

--
Gitblit v1.9.3