RuoYi
2025-06-06 c86bfa92432bde3c1e3ea6891cf5c43c2e99cd3d
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) {