From c9bce23eaefaca45f9aea44da4a3f55b64c57e54 Mon Sep 17 00:00:00 2001 From: wjt <1797368093@qq.com> Date: 星期三, 19 六月 2024 14:59:15 +0800 Subject: [PATCH] 首页部分内容添加 --- src/views/infomanger/banner/index.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/infomanger/banner/index.vue b/src/views/infomanger/banner/index.vue index f44a038..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,6 +146,7 @@ type: 'danger', }).then(val => { form.value.questionList.splice(index, 1) + save('鍒犻櫎鎴愬姛') }) } -- Gitblit v1.9.1