疯狂的狮子Li
2023-03-10 69edf436da5d47d580b3554a8dadedc6697c74bb
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) {