diff --git a/bricks/data-view/src/app-wall/index.tsx b/bricks/data-view/src/app-wall/index.tsx index 445eb30bf..c8d61cf08 100644 --- a/bricks/data-view/src/app-wall/index.tsx +++ b/bricks/data-view/src/app-wall/index.tsx @@ -26,6 +26,7 @@ export interface AppWallProps { */ @defineElement("data-view.app-wall", { styleTexts: [variablesStyleText, styleText], + dependencies: ["data-view.app-wall-card-item", "data-view.app-wall-relation-line", "data-view.app-wall-system-card"], }) class AppWall extends ReactNextElement diff --git a/bricks/data-view/src/app-wall/utils.ts b/bricks/data-view/src/app-wall/utils.ts index 31db5562d..f6c968481 100644 --- a/bricks/data-view/src/app-wall/utils.ts +++ b/bricks/data-view/src/app-wall/utils.ts @@ -1,8 +1,5 @@ import { MathUtils, EllipseCurve, LineCurve, Vector2, Vector3, Object3D, Quaternion, Euler,Vector3Tuple } from "three"; import { CSS3DObject } from 'three/addons/renderers/CSS3DRenderer.js'; -import "./card-item/index.js"; -import "./relation-line/index.js"; -import "./system-card/index.js"; import type { AppWallCardItem, AppWallCardItemProps } from "./card-item/index.js"; import type { AppWallRelationLine, AppWallRelationLineProps } from "./relation-line/index.js"; import type { SystemCard, SystemCardProps } from "./system-card/index.js";