@cloudbase/lowcode-builder 1.10.8 → 1.10.9
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/lib/builder/core/index.d.ts +5 -1
- package/lib/builder/core/index.js +18 -1
- package/lib/builder/h5/index.d.ts +2 -1
- package/lib/builder/h5/index.js +5 -1
- package/lib/builder/mp/index.d.ts +2 -1
- package/lib/builder/mp/index.js +2 -2
- package/lib/builder.web.js +4 -4
- package/package.json +3 -3
- package/template/mp/packages/$wd_system/pages/login/index.js +14 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/lowcode-builder",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.9",
|
|
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",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@babel/core": "7.21.4",
|
|
51
51
|
"@babel/preset-env": "7.21.4",
|
|
52
|
-
"@cloudbase/cals": "^1.2.
|
|
53
|
-
"@cloudbase/lowcode-generator": "^1.8.
|
|
52
|
+
"@cloudbase/cals": "^1.2.11",
|
|
53
|
+
"@cloudbase/lowcode-generator": "^1.8.38",
|
|
54
54
|
"axios": "^0.21.0",
|
|
55
55
|
"chalk": "^2.4.2",
|
|
56
56
|
"compare-versions": "^3.6.0",
|
|
@@ -550,10 +550,20 @@ Component({
|
|
|
550
550
|
const pageId = toPagePath.length > 1 ? toPagePath[1] : toPagePath[0]
|
|
551
551
|
const packageName = toPagePath.length > 1 ? toPagePath[0] : undefined
|
|
552
552
|
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
553
|
+
try {
|
|
554
|
+
const path = app.__internal__.generatePageUrl({
|
|
555
|
+
pageId,
|
|
556
|
+
packageName,
|
|
557
|
+
})
|
|
558
|
+
wx.restartMiniProgram({
|
|
559
|
+
path
|
|
560
|
+
})
|
|
561
|
+
} catch (error) {
|
|
562
|
+
app.redirectTo({
|
|
563
|
+
pageId,
|
|
564
|
+
packageName,
|
|
565
|
+
})
|
|
566
|
+
}
|
|
557
567
|
}
|
|
558
568
|
},
|
|
559
569
|
observers: {
|