Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

28 lignes
561 B

il y a 2 ans
import { createRouter, createWebHashHistory, RouteRecordRaw } from 'vue-router'
il y a 2 ans
il y a 2 ans
import Layout from '@/layout/Index.vue'
il y a 2 ans
const routes: Array<RouteRecordRaw> =
[
il y a 2 ans
{
path: '/',
il y a 2 ans
name: 'Layout',
component: Layout,
redirect: '/chg',
children: [
{
path: 'chg',
name: 'StockChg',
component: () => import('@/views/stock/chg/Index.vue')
}
]
il y a 2 ans
}
il y a 2 ans
]
const router = createRouter({
il y a 2 ans
history: createWebHashHistory(),
routes
il y a 2 ans
})
il y a 2 ans
export default router