@@ -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('暂无权限访问,请联系管理员') |