fix: 驼峰转换下划线、lucene

This commit is contained in:
2023-05-06 17:48:18 +08:00
parent 5963172f13
commit 11c1526e83
83 changed files with 2005 additions and 899 deletions

View File

@@ -82,6 +82,7 @@ export const logOut = (commit) => {
}
export const setUserInfo = (res, commit) => {
console.log(res)
// 如果没有任何权限,则赋予一个默认的权限,避免请求死循环
if (res.roles && res.roles.length > 0) {
commit('SET_ROLES', res.roles)