Repository navigation
0.2.7
@grapecity-software/dsh-spreadjs-editor 0.2.7
中文
隔离授权及初始化失败,保留 DSH 侧栏可用性
- 隔离 SpreadJS / Designer 初始化与文档渲染错误,失败时显示当前页面来源和授权排查提示,避免异常冒泡并破坏 DSH sidebar。
- 初始化失败后清理局部 DOM 和已创建实例;销毁时先撤销工作簿与 Driver 租约,分别处理恢复、事件解绑及 SDK 销毁异常。
- 主题切换触发的工作簿刷新异常交由文档错误页处理,避免中断 DSH 的主题事件。
- 避免正常关闭时重复销毁 Workbook;Designer 已负责销毁它持有的工作簿。
- 补充桌面版
dsh-app://app/授权说明、配置位置和测试步骤,修正「留空即能试用」的描述。
English
Contain licensing and initialization failures within the editor
- Contain SpreadJS / Designer initialization and document rendering failures within the editor, with page-origin and licensing guidance.
- Clean up partially initialized instances and DOM; revoke Workbook access and Driver leases before independently guarded recovery and disposal steps.
- Contain workbook refresh failures during theme changes without interrupting DSH's theme event.
- Avoid destroying a Workbook twice on normal close: Designer owns its workbook's disposal.
- Document desktop licensing for
dsh-app://app/, profile configuration, regression steps and the limits of keyless evaluation.