mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	fix: 新用户第一次未设置角色无法登录 bug
This commit is contained in:
		| @@ -55,7 +55,7 @@ router.beforeEach(async (to, from, next) => { | ||||
|         const res = await listSimpleDictDataApi() | ||||
|         dictStore.setDictMap(res) | ||||
|       } | ||||
|       if (userStore.getRoles.length === 0) { | ||||
|       if (!userStore.getIsSetUser) { | ||||
|         isRelogin.show = true | ||||
|         const res = await getInfoApi() | ||||
|         await userStore.setUserInfoAction(res) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 xingyu4j
					xingyu4j