liweilong
2020-12-09 855cab1e2835ec50e467b235df382ac1f9dfad1d
隐藏右边设置栏
3个文件已修改
9 ■■■■■ 已修改文件
src/components/RightPanel/index.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/components/Sidebar/Logo.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/settings.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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>
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: ''
    }
  }
}
src/settings.js
@@ -23,5 +23,5 @@
   * @type {boolean} true | false
   * @description Whether show the logo in sidebar
   */
  sidebarLogo: false
  sidebarLogo: true
}