@dao42/d42paas-front 0.6.9 → 0.6.13
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/dist/DaoPaaS.es.js +14 -6
- package/dist/DaoPaaS.umd.js +59 -59
- package/package.json +1 -1
package/dist/DaoPaaS.es.js
CHANGED
|
@@ -28359,7 +28359,8 @@ const PlaygroundInit = (arg) => {
|
|
|
28359
28359
|
const {
|
|
28360
28360
|
ticket,
|
|
28361
28361
|
playgroundId,
|
|
28362
|
-
io
|
|
28362
|
+
io,
|
|
28363
|
+
callback
|
|
28363
28364
|
} = arg;
|
|
28364
28365
|
reactDom.exports.unstable_batchedUpdates(() => {
|
|
28365
28366
|
const setUserInfo = userStore.getState().setUserInfo;
|
|
@@ -28457,6 +28458,7 @@ const PlaygroundInit = (arg) => {
|
|
|
28457
28458
|
dockerInfo2.fileTree && switchFileTree({
|
|
28458
28459
|
data: dockerInfo2.fileTree
|
|
28459
28460
|
});
|
|
28461
|
+
callback && callback();
|
|
28460
28462
|
}
|
|
28461
28463
|
});
|
|
28462
28464
|
io.on("playgroundStatus", (data) => {
|
|
@@ -44424,12 +44426,17 @@ class DaoPaaS {
|
|
|
44424
44426
|
userId: args.userId
|
|
44425
44427
|
}));
|
|
44426
44428
|
PlaygroundInit(__spreadProps(__spreadValues(__spreadValues({}, this.userInfo), args), {
|
|
44427
|
-
io: this.io
|
|
44429
|
+
io: this.io,
|
|
44430
|
+
callback: () => {
|
|
44431
|
+
if (this.components) {
|
|
44432
|
+
this.mapRender(this.components);
|
|
44433
|
+
}
|
|
44434
|
+
}
|
|
44428
44435
|
}));
|
|
44429
|
-
if (this.components) {
|
|
44430
|
-
this.mapRender(this.components);
|
|
44431
|
-
}
|
|
44432
44436
|
});
|
|
44437
|
+
if (this.components) {
|
|
44438
|
+
this.mapRender(this.components);
|
|
44439
|
+
}
|
|
44433
44440
|
window.onerror = (message) => {
|
|
44434
44441
|
if (/dError/.test(message)) {
|
|
44435
44442
|
Toast.message({
|
|
@@ -188333,7 +188340,8 @@ const Editor = ({
|
|
|
188333
188340
|
}
|
|
188334
188341
|
}, [file == null ? void 0 : file.path]);
|
|
188335
188342
|
react.exports.useEffect(() => {
|
|
188336
|
-
|
|
188343
|
+
lspServerInject("", useLsp);
|
|
188344
|
+
}, [useLsp]);
|
|
188337
188345
|
react.exports.useEffect(() => {
|
|
188338
188346
|
const {
|
|
188339
188347
|
usersDelta,
|