From 958f5a5abc6b5d4efee768d0b181078c25d4199e Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期五, 21 一月 2022 19:09:38 +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