@cloudbase/framework-plugin-low-code 0.7.3 → 0.7.4

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.
@@ -142,7 +142,7 @@ function _generateDynamicDataset(dataset) {
142
142
  }
143
143
  else {
144
144
  let jsExp = (0, util_1.generateDataBind)(bind);
145
- processed[paramKey] = `${config_1.REPLACE_SIGN}(app, $page) => (\n${jsExp}\n)${config_1.REPLACE_SIGN}`;
145
+ processed[paramKey] = `${config_1.REPLACE_SIGN}(app, $page) => (\n${jsExp || 'undefined'}\n)${config_1.REPLACE_SIGN}`;
146
146
  }
147
147
  }
148
148
  config.initMethod.params = processed;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloudbase/framework-plugin-low-code",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "description": "云开发 Tencent CloudBase Framework Low Code Plugin,将低码配置生成完整项目并一键部署云开发资源。",
5
5
  "author": "yhsunshining@gmail.com",
6
6
  "homepage": "https://github.com/TencentCloudBase/cloudbase-framework#readme",
@@ -56,7 +56,7 @@ function createGlboalApi() {
56
56
  }
57
57
  },
58
58
  invoke(params) {
59
- return app.activePage.invokeComponentMethod(params)
59
+ return app.__internal__.activePage.invokeComponentMethod(params)
60
60
  },
61
61
  utils: {
62
62
  formatDate,