刘元博
2023-03-11 dcb9cb3d135c5adc62931e2076bdabd2e9f22f70
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) {