From f0320494eb4a10a618e8dc57a29cffb7f37aa7a5 Mon Sep 17 00:00:00 2001
From: wjt <1797368093@qq.com>
Date: 星期三, 19 六月 2024 14:51:13 +0800
Subject: [PATCH] 评价项目

---
 src/views/infomanger/banner/index.vue |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/views/infomanger/banner/index.vue b/src/views/infomanger/banner/index.vue
index f938628..cd116d6 100644
--- a/src/views/infomanger/banner/index.vue
+++ b/src/views/infomanger/banner/index.vue
@@ -11,7 +11,9 @@
             璇勪环椤箋{ index + 1 }}
           </div> -->
           <div class="close-icon" @click="removeList(index)">
-            <el-icon><Close /></el-icon>
+            <el-tooltip content="绉婚櫎璇勪环椤�">
+              <el-icon><Close color="red"/></el-icon>
+            </el-tooltip>
           </div>
           <el-row>
             <el-col :span="12">
@@ -125,9 +127,9 @@
     questionName: name
   })
 }
-function save() {
+function save(item?: string) {
   saveEvaluate({questionList: form.value.questionList}).then(val => {
-    ElMessage.success('淇濆瓨鎴愬姛')
+    ElMessage.success(item||'淇濆瓨鎴愬姛')
   })
 }
 function changeValue(event, index, childIndex) {
@@ -144,7 +146,7 @@
       type: 'danger',
     }).then(val => {
       form.value.questionList.splice(index, 1)
-      save()
+      save('鍒犻櫎鎴愬姛')
     })
  
 }

--
Gitblit v1.9.1