@luck-design-biz/luckda 1.0.2-20temp1 → 1.0.2-20temp2
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/es/lowcode/constants/api-url.js +1 -1
- package/es/lowcode/engine/meta/pagecomponent.props.default.json +8 -0
- package/es/lowcode/engine/meta/pagecomponent.props.json +41 -0
- package/lib/lowcode/constants/api-url.js +1 -1
- package/lib/lowcode/engine/meta/pagecomponent.props.default.json +8 -0
- package/lib/lowcode/engine/meta/pagecomponent.props.json +41 -0
- package/package.json +1 -1
|
@@ -586,7 +586,7 @@ function _fetchAllBehaviorEx() {
|
|
|
586
586
|
return _fetchAllBehaviorEx.apply(this, arguments);
|
|
587
587
|
}
|
|
588
588
|
export function getBehaviorUrl(_mdCode) {
|
|
589
|
-
var mdCode = _mdCode || getLDMetaAttr('dataModelKey');
|
|
589
|
+
var mdCode = _mdCode || getLDMetaAttr('dataModelKey') || SYS_CODE;
|
|
590
590
|
return "".concat(api.API_HOST, "/").concat(mdCode, "/to/behavior/call");
|
|
591
591
|
}
|
|
592
592
|
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "PageComponent",
|
|
3
|
+
"name": "关联页面组件",
|
|
4
|
+
"group": "build-in",
|
|
5
|
+
"props": [
|
|
6
|
+
{
|
|
7
|
+
"key": "id",
|
|
8
|
+
"name": "唯一标识",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"disabled": true
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"key": "linkName",
|
|
14
|
+
"name": "页面名称",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"disabled": true
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"key": "linkCode",
|
|
20
|
+
"name": "页面编码",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"disabled": true
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"advance": {
|
|
26
|
+
"events": [
|
|
27
|
+
{
|
|
28
|
+
"key": "onMount",
|
|
29
|
+
"name": "组件首次渲染完成",
|
|
30
|
+
"desc": "在组件首次渲染完成时,执行方法",
|
|
31
|
+
"func": "function onPageMount(){\n\t\n}"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"key": "onUnmount",
|
|
35
|
+
"name": "组件卸载时",
|
|
36
|
+
"desc": "在组件卸载时,执行方法。",
|
|
37
|
+
"func": "function onPageUnmount(){\n\t\n}"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -604,7 +604,7 @@ function _fetchAllBehaviorEx() {
|
|
|
604
604
|
return _fetchAllBehaviorEx.apply(this, arguments);
|
|
605
605
|
}
|
|
606
606
|
function getBehaviorUrl(_mdCode) {
|
|
607
|
-
var mdCode = _mdCode || (0, _helper.getLDMetaAttr)('dataModelKey');
|
|
607
|
+
var mdCode = _mdCode || (0, _helper.getLDMetaAttr)('dataModelKey') || SYS_CODE;
|
|
608
608
|
return "".concat(_ApiConfig.default.API_HOST, "/").concat(mdCode, "/to/behavior/call");
|
|
609
609
|
}
|
|
610
610
|
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"component": "PageComponent",
|
|
3
|
+
"name": "关联页面组件",
|
|
4
|
+
"group": "build-in",
|
|
5
|
+
"props": [
|
|
6
|
+
{
|
|
7
|
+
"key": "id",
|
|
8
|
+
"name": "唯一标识",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"disabled": true
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"key": "linkName",
|
|
14
|
+
"name": "页面名称",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"disabled": true
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"key": "linkCode",
|
|
20
|
+
"name": "页面编码",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"disabled": true
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"advance": {
|
|
26
|
+
"events": [
|
|
27
|
+
{
|
|
28
|
+
"key": "onMount",
|
|
29
|
+
"name": "组件首次渲染完成",
|
|
30
|
+
"desc": "在组件首次渲染完成时,执行方法",
|
|
31
|
+
"func": "function onPageMount(){\n\t\n}"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"key": "onUnmount",
|
|
35
|
+
"name": "组件卸载时",
|
|
36
|
+
"desc": "在组件卸载时,执行方法。",
|
|
37
|
+
"func": "function onPageUnmount(){\n\t\n}"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
}
|
package/package.json
CHANGED