Merge branch 'main' of http://192.168.0.56:3000/bonus/Zlpt_Portal
This commit is contained in:
commit
d614f87355
|
|
@ -174,7 +174,7 @@ const isMyInfoPage = () => {
|
|||
v-if="isMyInfoPage()"
|
||||
:src="headerLogo"
|
||||
fit="cover"
|
||||
@click="$router.push('/home')"
|
||||
@click="$router.push('/mall-view')"
|
||||
/>
|
||||
<div class="header-right">
|
||||
<div class="header-item" v-if="isShowLogout">
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ const searchKeywordBtn = () => {
|
|||
}
|
||||
$bus.emit('search', keywordIptValue.value)
|
||||
}
|
||||
if (route.path == '/home') {
|
||||
if (route.path == '/mall-view') {
|
||||
if (searchTypeName.value === '装备') {
|
||||
router.push({
|
||||
name: 'equipList',
|
||||
|
|
@ -309,7 +309,7 @@ const onJumpUser = () => {
|
|||
style="width: 70%; margin-left: 60px; cursor: pointer"
|
||||
:src="imgSrc"
|
||||
fit="cover"
|
||||
@click="$router.push('/home')"
|
||||
@click="$router.push('/mall-view')"
|
||||
/>
|
||||
</div>
|
||||
<div class="home-search">
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ const routes: Array<RouteRecordRaw> = [
|
|||
{
|
||||
path: '/',
|
||||
component: () => import('views/AppMain.vue'),
|
||||
redirect: '/home',
|
||||
redirect: '/mall-view',
|
||||
meta: {
|
||||
title: '首页',
|
||||
keepAlive: false,
|
||||
|
|
@ -80,7 +80,7 @@ const routes: Array<RouteRecordRaw> = [
|
|||
children: [
|
||||
// 首页
|
||||
{
|
||||
path: 'home',
|
||||
path: 'mall-view',
|
||||
name: 'home',
|
||||
component: () => import('views/home/index.vue'),
|
||||
meta: {
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ const handlerLogin = async () => {
|
|||
if (route.query && route.query.redirect) {
|
||||
router.push(decodeURIComponent(route.query.redirect))
|
||||
} else {
|
||||
router.push('/home')
|
||||
router.push('/mall-view')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue