fix: 一些基本功能

This commit is contained in:
2025-03-07 08:18:45 +08:00
parent 638462295d
commit 4cdb8351d4
453 changed files with 13336 additions and 24197 deletions

View File

@@ -36,6 +36,8 @@ import {
Upload,
} from 'ant-design-vue';
import { registerComponent } from '#/components/form/component-map';
const withDefaultPlaceholder = <T extends Component>(
component: T,
type: 'input' | 'select',
@@ -149,6 +151,8 @@ async function initComponentAdapter() {
Upload,
};
// 自动注册自定义组件
registerComponent(components);
// 将组件注册到全局共享状态中
globalShareState.setComponents(components);