兰宝车间质量管理系统-前端
LiuHao
2023-06-06 9cd7f6cabbf4c0971d85d968041ad4325a9669ec
src/types/router.d.ts
@@ -1,7 +1,7 @@
import { RouteRecordRaw } from 'vue-router';
declare module 'vue-router' {
  type RouteOption = {
  declare type RouteOption = {
    hidden?: boolean;
    permissions?: string[];
    roles?: string[];
@@ -16,15 +16,15 @@
    query?: string;
  } & RouteRecordRaw;
  interface _RouteLocationBase {
  declare interface _RouteLocationBase {
    children?: RouteOption[];
  }
  interface RouteLocationOptions {
  declare interface RouteLocationOptions {
    fullPath?: string;
  }
  interface TagView extends Partial<_RouteLocationBase> {
  declare interface TagView extends Partial<_RouteLocationBase> {
    title?: string;
    meta?: {
      link?: string;