This commit is contained in:
parent
835ecbd273
commit
639c33969a
|
|
@ -20,6 +20,7 @@ import { el } from 'element-plus/es/locale'
|
|||
|
||||
const { getCompanyList, getGoodsClassList } = userClass()
|
||||
const router: any = useRouter()
|
||||
const route: any = useRoute()
|
||||
const userStore = useStore()
|
||||
const store: any = mainStore()
|
||||
const tokenNew = localStorage.getItem('tokenNew')
|
||||
|
|
@ -170,6 +171,13 @@ const onClickSwiper = (item: any) => {
|
|||
getSwiperListData()
|
||||
|
||||
onMounted(async () => {
|
||||
console.log('🚀 ~ home ~ route-->:', route.query)
|
||||
const redirect = route.query.redirect || ''
|
||||
if (redirect) {
|
||||
router.push({
|
||||
name: route.query.redirect,
|
||||
})
|
||||
}
|
||||
if (!tokenNew) {
|
||||
const origin = window.location.href
|
||||
|
||||
|
|
|
|||
|
|
@ -1178,6 +1178,7 @@ onMounted(() => {
|
|||
}
|
||||
}
|
||||
.app-container-content {
|
||||
padding: 20px;
|
||||
:deep(.el-dialog) {
|
||||
display: flex !important;
|
||||
flex-direction: column !important;
|
||||
|
|
|
|||
Loading…
Reference in New Issue