소스 검색

Merge branch 'develop' of gitadmin/tuoheng_pilot_web into release

pull/114/head
zhangtao 1 년 전
부모
커밋
5f773606fa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/views/login/index.vue

+ 1
- 1
src/views/login/index.vue 파일 보기

@@ -28,7 +28,7 @@ export default {
userStore.getUserInfos()
const authority = res.profile.authority
const { VITE_PLATFORM } = import.meta.env
if (authority && (authority.includes(VITE_PLATFORM) || authority.includes('admin'))) {
if (authority && (authority.includes(VITE_PLATFORM))) {
router.push({ path: '/' })
} else {
$message.error('暂无权限访问,请联系管理员')

Loading…
취소
저장