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

This commit is contained in:
2025-11-05 00:01:35 +08:00
parent d90331083e
commit 88d6076a83
6 changed files with 84 additions and 30 deletions
+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;