@yudaocode/univer-docs-ui 1.6.204 → 1.6.205
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +12 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/es/index.js +12 -1
- package/lib/es/index.js.map +1 -1
- package/package.json +3 -3
package/lib/es/index.js
CHANGED
|
@@ -7538,7 +7538,18 @@ var DocsExtUIController = class extends Disposable2 {
|
|
|
7538
7538
|
this._initMenus();
|
|
7539
7539
|
this._initWorkbenchParts();
|
|
7540
7540
|
if (this._config.defaultOpenInspector && this._config.features?.sdtControls) {
|
|
7541
|
-
|
|
7541
|
+
let disposed = false;
|
|
7542
|
+
const timer = setTimeout(() => {
|
|
7543
|
+
if (!disposed) {
|
|
7544
|
+
openDocInspectorSidebar(this._sidebarService);
|
|
7545
|
+
}
|
|
7546
|
+
}, 120);
|
|
7547
|
+
this.disposeWithMe({
|
|
7548
|
+
dispose: () => {
|
|
7549
|
+
disposed = true;
|
|
7550
|
+
clearTimeout(timer);
|
|
7551
|
+
}
|
|
7552
|
+
});
|
|
7542
7553
|
}
|
|
7543
7554
|
}
|
|
7544
7555
|
_initLocales() {
|