@cloudbase/lowcode-builder 1.8.34 → 1.8.35
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/lowcode-builder",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.35",
|
|
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",
|
|
@@ -39,7 +39,9 @@
|
|
|
39
39
|
"url": "https://github.com/TencentCloudBase/cloudbase-framework/issues"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@
|
|
42
|
+
"@babel/core": "7.12.3",
|
|
43
|
+
"@babel/preset-env": "7.12.1",
|
|
44
|
+
"@cloudbase/cals": "^1.0.23",
|
|
43
45
|
"@cloudbase/lowcode-generator": "^1.8.12",
|
|
44
46
|
"axios": "^0.21.0",
|
|
45
47
|
"browserfs": "^1.4.3",
|
|
@@ -82,4 +84,4 @@
|
|
|
82
84
|
"webpack-dev-server": "^4.7.3",
|
|
83
85
|
"worker-loader": "^3.0.8"
|
|
84
86
|
}
|
|
85
|
-
}
|
|
87
|
+
}
|
|
@@ -23,27 +23,16 @@
|
|
|
23
23
|
<% })%> <% if(cdnEndpoints.aegis){ %>
|
|
24
24
|
<script crossorigin="anonymous" src="<%= cdnEndpoints.aegis %>/aegis-sdk/latest/aegis.min.js"></script>
|
|
25
25
|
<script>
|
|
26
|
-
<% if(!isAdminPortal){ %>
|
|
27
26
|
const _aegis = new Aegis({
|
|
28
27
|
id: 'lXHFsBpTjIzNADiczY', // 项目ID,即上报key
|
|
29
28
|
reportApiSpeed: true, // 接口测速
|
|
30
29
|
reportAssetSpeed: true, // 静态资源测速
|
|
31
30
|
spa: true,
|
|
32
31
|
ext1: '<%=appId%>',
|
|
33
|
-
version: '0.0.2',
|
|
32
|
+
version: '<%= !isAdminPortal? "0.0.2" : "0.0.3" %>',
|
|
34
33
|
});
|
|
35
|
-
<% } else {%>
|
|
36
|
-
const _aegis = new Aegis({
|
|
37
|
-
id: 'lXHFsBpTrKcnOMqTRQ', // 项目ID,即上报key
|
|
38
|
-
reportApiSpeed: false, // 接口测速
|
|
39
|
-
reportAssetSpeed: false, // 静态资源测速
|
|
40
|
-
spa: true,
|
|
41
|
-
ext1: '<%=appId%>',
|
|
42
|
-
version: '0.0.2',
|
|
43
|
-
});
|
|
44
|
-
<% }%>
|
|
45
34
|
window._aegis = _aegis;
|
|
46
|
-
window._aegis_inited = Date.now()
|
|
35
|
+
window._aegis_inited = Date.now();
|
|
47
36
|
</script>
|
|
48
37
|
<% }%>
|
|
49
38
|
<title><%= title %></title>
|
|
@@ -551,7 +540,7 @@
|
|
|
551
540
|
crossorigin
|
|
552
541
|
src="<%=
|
|
553
542
|
cdnEndpoints.cdngo
|
|
554
|
-
%>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.
|
|
543
|
+
%>/lcap/lcap-resource-cdngo/-/0.1.4/_files/static/weda-render/main.1a8d700051f7a14000ad.bundle.js"
|
|
555
544
|
></script>
|
|
556
545
|
</body>
|
|
557
546
|
</html>
|
|
@@ -163,7 +163,7 @@ export function createEventHandlers(
|
|
|
163
163
|
}
|
|
164
164
|
} catch (e) {
|
|
165
165
|
if (e.message) {
|
|
166
|
-
e._target = `${currentTarget?.id
|
|
166
|
+
e._target = `${currentTarget?.id ? `组件${currentTarget?.id}` : ''}[${trigger}事件,响应ID${l.key}]`;
|
|
167
167
|
}
|
|
168
168
|
nextEventHandles[0].handlerName = l.key ? `${prefix}$${l.key}_fail` : '';
|
|
169
169
|
nextEventHandles[0].event.detail = isIfAction ? event.detail : e;
|
|
@@ -178,12 +178,13 @@ export function createEventHandlers(
|
|
|
178
178
|
const nextHandler = nextEventHandles[0];
|
|
179
179
|
|
|
180
180
|
if (!self[nextHandler.handlerName] && error) {
|
|
181
|
-
|
|
181
|
+
const message = generateErrorDebugMessage(error) || error.errMsg || ''
|
|
182
|
+
console.error(`Action error:`, message, error?.stack);
|
|
182
183
|
if (!looseError) {
|
|
183
184
|
if (app.__internal__?.env?.type !== 'production') {
|
|
184
185
|
app.showModal({
|
|
185
186
|
title: `事件响应失败`,
|
|
186
|
-
content:
|
|
187
|
+
content: message,
|
|
187
188
|
showCancel: false,
|
|
188
189
|
});
|
|
189
190
|
} else {
|
package/template/.DS_Store
DELETED
|
Binary file
|
package/template/mp/.DS_Store
DELETED
|
Binary file
|
|
Binary file
|