From 855cab1e2835ec50e467b235df382ac1f9dfad1d Mon Sep 17 00:00:00 2001 From: liweilong <515897141@qq.com> Date: 星期三, 09 十二月 2020 17:29:22 +0800 Subject: [PATCH] 隐藏右边设置栏 --- src/components/RightPanel/index.vue | 5 +++-- src/layout/components/Sidebar/Logo.vue | 2 +- src/settings.js | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/components/RightPanel/index.vue b/src/components/RightPanel/index.vue index fbad0d8..6dd3258 100644 --- a/src/components/RightPanel/index.vue +++ b/src/components/RightPanel/index.vue @@ -2,9 +2,10 @@ <div ref="rightPanel" :class="{show:show}" class="rightPanel-container"> <div class="rightPanel-background" /> <div class="rightPanel"> - <div class="handle-button" :style="{'top':buttonTop+'px','background-color':theme}" @click="show=!show"> + <!-- todo --> + <!-- <div class="handle-button" :style="{'top':buttonTop+'px','background-color':theme}" @click="show=!show"> <i :class="show?'el-icon-close':'el-icon-setting'" /> - </div> + </div> --> <div class="rightPanel-items"> <slot /> </div> diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 4f28d5b..4982961 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -25,7 +25,7 @@ data() { return { title: '鈥濋」鐩悕绉扳��', - logo: 'https://wpimg.wallstcn.com/69a1c46c-eb1c-4b46-8bd4-e9e686ef5251.png' + logo: '' } } } diff --git a/src/settings.js b/src/settings.js index 2aed71b..5c76061 100644 --- a/src/settings.js +++ b/src/settings.js @@ -23,5 +23,5 @@ * @type {boolean} true | false * @description Whether show the logo in sidebar */ - sidebarLogo: false + sidebarLogo: true } -- Gitblit v1.8.0