@dao42/d42paas-front 0.6.8 → 0.6.12
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 +13 -5
- 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({
|
|
@@ -188020,6 +188027,7 @@ const Editor = ({
|
|
|
188020
188027
|
lib$1.listen({
|
|
188021
188028
|
webSocket,
|
|
188022
188029
|
onConnection: (connection2) => {
|
|
188030
|
+
console.log("lsp inited");
|
|
188023
188031
|
const languageClient = new lib.MonacoLanguageClient({
|
|
188024
188032
|
name: "Language Client",
|
|
188025
188033
|
clientOptions: {
|