浏览代码

Merge branch 'yufei' of gitadmin/tuoheng_pilot_web into develop

pull/120/head
yufei111 1年前
父节点
当前提交
921d441f13
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/views/login/index.vue

+ 1
- 1
src/views/login/index.vue 查看文件

@@ -30,7 +30,7 @@ export default {
nextTick(() => {
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('暂无权限访问,请联系管理员')

正在加载...
取消
保存