types: 添加完整路由配置表类型声明

This commit is contained in:
xiaoxian521
2022-08-19 15:03:52 +08:00
parent a8e830f51c
commit 28e58e4b4e
17 changed files with 110 additions and 16 deletions

View File

@@ -1,7 +1,8 @@
import type { RouteConfigsTable } from "/#/index";
const Layout = () => import("/@/layout/index.vue");
const IFrame = () => import("/@/layout/frameView.vue");
const pptRouter = {
const pptRouter: RouteConfigsTable = {
path: "/ppt",
component: Layout,
redirect: "/ppt/index",