diff --git a/apps/web-antd/src/bootstrap.ts b/apps/web-antd/src/bootstrap.ts
index 0f1ab09fb..be5a5eda7 100644
--- a/apps/web-antd/src/bootstrap.ts
+++ b/apps/web-antd/src/bootstrap.ts
@@ -35,6 +35,7 @@ async function bootstrap(namespace: string) {
// });
const app = createApp(App);
+ app.use(VueDOMPurifyHTML);
// 注册v-loading指令
registerLoadingDirective(app, {
@@ -61,10 +62,6 @@ async function bootstrap(namespace: string) {
// formCreate
setupFormCreate(app);
- // vue-dompurify-html
- // TODO @dhb52:VueDOMPurifyHTML 是不是不用引入哈?
- app.use(VueDOMPurifyHTML);
-
// 配置Motion插件
const { MotionPlugin } = await import('@vben/plugins/motion');
app.use(MotionPlugin);
diff --git a/apps/web-antd/src/components/form-create/typing.ts b/apps/web-antd/src/components/form-create/typing.ts
index b89e6f780..35c1a39fc 100644
--- a/apps/web-antd/src/components/form-create/typing.ts
+++ b/apps/web-antd/src/components/form-create/typing.ts
@@ -1,9 +1,7 @@
-import type { Rule } from '@form-create/ant-design-vue';
-
/** 数据字典 Select 选择器组件 Props 类型 */
export interface DictSelectProps {
dictType: string; // 字典类型
- valueType?: 'bool' | 'int' | 'str'; // 字典值类型 TODO @芋艿:'boolean' | 'number' | 'string';需要和 vue3 一起统一!
+ valueType?: 'bool' | 'int' | 'str'; // 字典值类型
selectType?: 'checkbox' | 'radio' | 'select'; // 选择器类型,下拉框 select、多选框 checkbox、单选框 radio
formCreateInject?: any;
}
@@ -22,25 +20,6 @@ export interface Menu {
list: MenuItem[];
}
-export type MenuList = Array