feat: 产品页面搭建

This commit is contained in:
Gsh
2025-06-18 23:28:27 +08:00
parent 8a8e69596a
commit 890727d495
8 changed files with 637 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
import type { RouteRecordRaw } from 'vue-router';
import { HOME_URL } from '@/config';
import type {RouteRecordRaw} from 'vue-router';
import {HOME_URL} from '@/config';
// LayoutRouter[布局路由]
export const layoutRouter: RouteRecordRaw[] = [
@@ -31,6 +31,16 @@ export const layoutRouter: RouteRecordRaw[] = [
isDefaultChat: false,
},
},
{
path: '/products',
name: 'products',
component: () => import('@/pages/product/index.vue'), path: '/products',
meta: {
title: '产品页面',
keepAlive: true, // 如果需要缓存
isDefaultChat: false // 根据实际情况设置
}
},
],
},
];