| src/api/user.js | ●●●●● patch | view | raw | blame | history | |
| src/store/modules/user.js | ●●●●● patch | view | raw | blame | history |
src/api/user.js
@@ -122,10 +122,11 @@ }, }); export const getButtons = () => export const getButtons = (params) => request({ url: '/blade-system/menu/buttons', method: 'get', params }); export const getCaptcha = () => src/store/modules/user.js
@@ -299,7 +299,7 @@ }, GetButtons({ commit }) { return new Promise(resolve => { getButtons().then(res => { getButtons({sysType: 1}).then(res => { const data = res.data.data; commit('SET_PERMISSION', data); resolve();