|
|
|
|
|
|
|
|
updateLoginTime().then(res => {}) |
|
|
updateLoginTime().then(res => {}) |
|
|
// router.push({ path: getPath() }) |
|
|
// router.push({ path: getPath() }) |
|
|
// removePath() |
|
|
// removePath() |
|
|
// userStore.getUserInfos() |
|
|
|
|
|
|
|
|
userStore.getUserInfos() |
|
|
const authority = res.profile.authority |
|
|
const authority = res.profile.authority |
|
|
const { VITE_PLATFORM } = import.meta.env |
|
|
const { VITE_PLATFORM } = import.meta.env |
|
|
if (authority && (authority.includes(VITE_PLATFORM) || authority.includes('admin'))) { |
|
|
if (authority && (authority.includes(VITE_PLATFORM) || authority.includes('admin'))) { |