mirror of https://github.com/certd/certd
chore:
parent
1150f62927
commit
be1b6f8edc
|
@ -1,5 +1,3 @@
|
||||||
import { importWorks } from "./async-import";
|
|
||||||
|
|
||||||
const WorkerBucket: any = {};
|
const WorkerBucket: any = {};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -222,5 +222,5 @@ export default {
|
||||||
"AResult",
|
"AResult",
|
||||||
defineAsyncComponent(() => import("ant-design-vue/es/result"))
|
defineAsyncComponent(() => import("ant-design-vue/es/result"))
|
||||||
);
|
);
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,5 +2,5 @@ import antdv from "ant-design-vue";
|
||||||
export default {
|
export default {
|
||||||
install(app: any) {
|
install(app: any) {
|
||||||
app.use(antdv);
|
app.use(antdv);
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
|
|
|
@ -4,7 +4,7 @@ import type { RouteRecordRaw } from "vue-router";
|
||||||
|
|
||||||
import { mergeRouteModules } from "/@/vben/utils";
|
import { mergeRouteModules } from "/@/vben/utils";
|
||||||
const dynamicRouteFiles = import.meta.glob("./modules/**/*.ts*", {
|
const dynamicRouteFiles = import.meta.glob("./modules/**/*.ts*", {
|
||||||
eager: true
|
eager: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
/** 动态路由 */
|
/** 动态路由 */
|
||||||
|
@ -18,7 +18,7 @@ export const frameworkResource = [
|
||||||
component: LayoutBasic,
|
component: LayoutBasic,
|
||||||
meta: {
|
meta: {
|
||||||
icon: "ion:accessibility",
|
icon: "ion:accessibility",
|
||||||
hideInBreadcrumb: true
|
hideInBreadcrumb: true,
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -30,13 +30,13 @@ export const frameworkResource = [
|
||||||
fixedAside: true,
|
fixedAside: true,
|
||||||
showOnHeader: false,
|
showOnHeader: false,
|
||||||
icon: "ion:home-outline",
|
icon: "ion:home-outline",
|
||||||
auth: true
|
auth: true,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|
||||||
...dynamicRoutes
|
...dynamicRoutes,
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
];
|
];
|
||||||
console.assert(frameworkResource.length === 1, "frameworkResource数组长度只能为1,你只能配置framework路由的子路由");
|
console.assert(frameworkResource.length === 1, "frameworkResource数组长度只能为1,你只能配置framework路由的子路由");
|
||||||
|
|
Loading…
Reference in New Issue