@cqsjjb/jjb-cloud-component 0.0.7-experimental → 0.0.7-experimental.2

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.
@@ -29,6 +29,7 @@ export default function CloudComponent(props) {
29
29
  headers,
30
30
  dependencies = [],
31
31
  initialize,
32
+ componentRef,
32
33
  componentKey,
33
34
  componentProps,
34
35
  onLoadStart,
@@ -58,7 +59,7 @@ export default function CloudComponent(props) {
58
59
  setComponent(() => {
59
60
  onLoadEnd && onLoadEnd();
60
61
  return isNewVersion
61
- ? module.default()
62
+ ? module.default(componentRef)
62
63
  : module.default;
63
64
  });
64
65
  } catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqsjjb/jjb-cloud-component",
3
- "version": "0.0.7-experimental",
3
+ "version": "0.0.7-experimental.2",
4
4
  "description": "前端-云组件",
5
5
  "main": "index.js",
6
6
  "scripts": {