RuoYi
2022-03-17 857054179ce0a75b3c6486ab60d4e7ea52e8fc49
优化固定Header后顶部导航栏样式问题(I4XDN5)
3 files modified
7 ■■■■■ changed files
ruoyi-ui/src/layout/index.vue 4 ●●●● patch | view | raw | blame | history
ruoyi-ui/src/store/modules/app.js 3 ●●●●● patch | view | raw | blame | history
ruoyi-ui/src/store/modules/user.js patch | view | raw | blame | history
ruoyi-ui/src/layout/index.vue
@@ -101,6 +101,10 @@
    width: calc(100% - 54px);
  }
  .sidebarHide .fixed-header {
    width: calc(100%);
  }
  .mobile .fixed-header {
    width: 100%;
  }
ruoyi-ui/src/store/modules/app.js
@@ -12,6 +12,9 @@
const mutations = {
  TOGGLE_SIDEBAR: state => {
    if (state.sidebar.hide) {
      return false;
    }
    state.sidebar.opened = !state.sidebar.opened
    state.sidebar.withoutAnimation = false
    if (state.sidebar.opened) {
ruoyi-ui/src/store/modules/user.js