feat(SDK): 修改Viewer初始化配置中Edit的数据结构

This commit is contained in:
mlt131220 committed 2025-11-05 00:01:35 +08:00
1 parent d90331083e
commit 88d6076a83
6 files changed
+84 -30

No files matched your search

+7 -1
View File
@@ -1,3 +1,9 @@
declare interface IViewerEdit {
enabled:boolean;
helpers: boolean;
gizmo:boolean;
}
declare interface IViewerGrid {
enabled:boolean;
color: number | string;
@@ -25,7 +31,7 @@ declare interface IViewerRequest {
declare interface IViewerSetting {
container?: HTMLElement;
hdr?: string;
enableEdit?: boolean;
edit?: IViewerEdit;
enableScript?: boolean;
request?:IViewerRequest;
grid:IViewerGrid;