@cloudbase/framework-plugin-low-code 0.7.27 → 0.7.30
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/framework-plugin-low-code",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.30",
|
|
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",
|
package/template/mp/package.json
CHANGED
|
@@ -107,7 +107,7 @@ class CompositeCompWrapper extends React.Component {
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
createCompAPI(compThis) {
|
|
110
|
-
const { forwardRef
|
|
110
|
+
const { forwardRef } = compThis.props || {};
|
|
111
111
|
compThis.$WEAPPS_COMP = {
|
|
112
112
|
compConfig: compThis.compConfig,
|
|
113
113
|
widgets: compThis.widgets,
|
|
@@ -115,6 +115,7 @@ class CompositeCompWrapper extends React.Component {
|
|
|
115
115
|
handler: compThis.handler,
|
|
116
116
|
lib: { const: constObj, tools: toolsObj },
|
|
117
117
|
get props() {
|
|
118
|
+
const { forwardRef, ...restProps } = compThis.props || {};
|
|
118
119
|
return {...restProps, events: compThis.events, data: compThis.propsData }
|
|
119
120
|
},
|
|
120
121
|
get state() {
|