This commit is contained in:
hongchao 2024-12-19 16:46:54 +08:00
commit d614f87355
4 changed files with 6 additions and 6 deletions

View File

@ -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">

View File

@ -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">

View File

@ -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: {

View File

@ -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')
}
}
}