@blueking/bk-weweb 0.0.35-beta.7 → 0.0.35-beta.8
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/index.esm.js +2 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -2785,7 +2785,7 @@ async function loadApp(props) {
|
|
|
2785
2785
|
instance = new MicroAppModel(props);
|
|
2786
2786
|
appCache.setApp(instance);
|
|
2787
2787
|
} else {
|
|
2788
|
-
instance.data = props.data || {};
|
|
2788
|
+
instance.data = props.data || instance.data || {};
|
|
2789
2789
|
}
|
|
2790
2790
|
await instance.start();
|
|
2791
2791
|
return instance;
|
|
@@ -2809,6 +2809,7 @@ function loadInstance(props) {
|
|
|
2809
2809
|
}, STATUS_CHECK_INTERVAL);
|
|
2810
2810
|
return;
|
|
2811
2811
|
}
|
|
2812
|
+
instance.data = props.data || instance.data || {};
|
|
2812
2813
|
resolve(instance);
|
|
2813
2814
|
});
|
|
2814
2815
|
}
|