chore: format code
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { Icon } from '@iconify/vue';
|
||||
import { defineComponent, h } from 'vue';
|
||||
|
||||
import { Icon } from '@iconify/vue';
|
||||
|
||||
function createIcon(name: string) {
|
||||
return defineComponent({
|
||||
setup(props, { attrs }) {
|
||||
|
@@ -72,6 +72,10 @@ interface RouteMeta {
|
||||
* 路由是否已经加载过
|
||||
*/
|
||||
loaded?: boolean;
|
||||
/**
|
||||
* 菜单可以看到,但是访问会被重定向到403
|
||||
*/
|
||||
menuVisibleWithForbidden?: boolean;
|
||||
/**
|
||||
* 用于路由->菜单排序
|
||||
*/
|
||||
@@ -80,6 +84,7 @@ interface RouteMeta {
|
||||
* 外链-跳转路径
|
||||
*/
|
||||
target?: string;
|
||||
|
||||
/**
|
||||
* 标题名称
|
||||
*/
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import 'vue-router';
|
||||
|
||||
import type { RouteMeta as IRouteMeta } from '@vben-core/typings';
|
||||
|
||||
import 'vue-router';
|
||||
|
||||
declare module 'vue-router' {
|
||||
interface RouteMeta extends IRouteMeta {}
|
||||
}
|
||||
|
Reference in New Issue
Block a user