From bf97988edfb77f5436d4ef20575e9f34477f36a7 Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期三, 08 十二月 2021 11:17:41 +0800 Subject: [PATCH] 多图上传组件添加可多选图片 --- src/components/RightToolbar/index.vue | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/components/RightToolbar/index.vue b/src/components/RightToolbar/index.vue index 3dd6af4..c21b968 100644 --- a/src/components/RightToolbar/index.vue +++ b/src/components/RightToolbar/index.vue @@ -2,7 +2,7 @@ <template> <div class="top-right-btn"> <el-row> - <el-tooltip class="item" effect="dark" :content="showSearch ? '闅愯棌鎼滅储' : '鏄剧ず鎼滅储'" placement="top"> + <el-tooltip v-if="isSearch" class="item" effect="dark" :content="showSearch ? '闅愯棌鎼滅储' : '鏄剧ず鎼滅储'" placement="top"> <el-button size="mini" circle icon="el-icon-search" @click="toggleSearch()" /> </el-tooltip> <el-tooltip class="item" effect="dark" content="鍒锋柊" placement="top"> @@ -18,6 +18,10 @@ showSearch: { type: Boolean, default: true + }, + isSearch: { + type: Boolean, + default: true } }, data() { -- Gitblit v1.8.0