Your Name
2022-03-21 2702a269f93dc48195da00c79d7d4cc51d89223d
src/store/modules/user.js
@@ -19,7 +19,8 @@
    roles: [],
    setting: {
      articlePlatform: []
    }
    },
      classifyOne:'',
  },
  mutations: {
@@ -62,9 +63,15 @@
    SET_PRINT: (state, printBar) => {
      state.printBar = printBar
    },
      SET_ONE : (state , name) =>{
          state.classifyOne = name
      }
  },
  actions: {
      getClassifyOne({ commit }, listQuery){
          commit('SET_ONE', listQuery)
      },
    // 用户名登录
    LoginByUsername({ commit }, userInfo) {
      const username = userInfo.username.trim()