RuoYi
2026-03-21 d3b5e93952a24a42d3942d2245c32336f4f73b39
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) {