@dao42/d42paas-front 0.6.9 → 0.6.10
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 +9 -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;
|
|
@@ -28456,7 +28457,7 @@ const PlaygroundInit = (arg) => {
|
|
|
28456
28457
|
setDockerInfo(__spreadValues(__spreadValues({}, oTStore.getState().dockerInfo), dockerInfo2));
|
|
28457
28458
|
dockerInfo2.fileTree && switchFileTree({
|
|
28458
28459
|
data: dockerInfo2.fileTree
|
|
28459
|
-
});
|
|
28460
|
+
}) && callback && callback();
|
|
28460
28461
|
}
|
|
28461
28462
|
});
|
|
28462
28463
|
io.on("playgroundStatus", (data) => {
|
|
@@ -44424,11 +44425,13 @@ class DaoPaaS {
|
|
|
44424
44425
|
userId: args.userId
|
|
44425
44426
|
}));
|
|
44426
44427
|
PlaygroundInit(__spreadProps(__spreadValues(__spreadValues({}, this.userInfo), args), {
|
|
44427
|
-
io: this.io
|
|
44428
|
+
io: this.io,
|
|
44429
|
+
callback: () => {
|
|
44430
|
+
if (this.components) {
|
|
44431
|
+
this.mapRender(this.components);
|
|
44432
|
+
}
|
|
44433
|
+
}
|
|
44428
44434
|
}));
|
|
44429
|
-
if (this.components) {
|
|
44430
|
-
this.mapRender(this.components);
|
|
44431
|
-
}
|
|
44432
44435
|
});
|
|
44433
44436
|
window.onerror = (message) => {
|
|
44434
44437
|
if (/dError/.test(message)) {
|