eims-ui/apps/web-antd/src/bootstrap.ts | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
eims-ui/apps/web-antd/src/bootstrap.ts
@@ -14,6 +14,7 @@ import { initComponentAdapter } from './adapter/component'; import App from './app.vue'; import { router } from './router'; import Antd from 'ant-design-vue'; async function bootstrap(namespace: string) { // 初始化组件适配器 @@ -36,6 +37,9 @@ // 配置路由及路由守卫 app.use(router); // 全局注册 antd 组件 app.use(Antd); // 动态更新标题 watchEffect(() => { if (preferences.app.dynamicTitle) {