mirror of
https://github.com/certd/certd.git
synced 2026-04-24 12:27:25 +08:00
chore:
This commit is contained in:
@@ -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路由的子路由");
|
||||||
|
|||||||
Reference in New Issue
Block a user