wangxin 2 lat temu
rodzic
commit
dbc8597084

+ 1 - 1
miniprogram/app.json

@@ -44,7 +44,7 @@
 	},
 	"lazyCodeLoading": "requiredComponents",
 	"navigateToMiniProgramAppIdList": [
-		"wx5a3a7366fd07e119"
+		"wx5a3a7366fd07e119","wxa023b292fd19d41d"
 	],
 	"embeddedAppIdList": ["wxa023b292fd19d41d"],
 	"sitemapLocation": "sitemap.json"

+ 1 - 1
miniprogram/pages/detail/detail.ts

@@ -258,7 +258,7 @@ Page({
 			workContractType === 1 && confirmECOrdersImpl({
 				orderId: this.data.hwOrderAPI.id
 			}).then(res => {
-				wx.openEmbeddedMiniProgram({
+				wx.navigateToMiniProgram({
 					appId: 'wxa023b292fd19d41d',
 					path: "/" + res.data.url
 				});

+ 1 - 1
miniprogram/pages/my-order/my-order.ts

@@ -75,7 +75,7 @@ Page({
 			workContractType === 1 && confirmECOrdersImpl({
 				orderId: id
 			}).then(data => {
-				wx.openEmbeddedMiniProgram({
+				wx.navigateToMiniProgram({
 					appId: 'wxa023b292fd19d41d',
 					path: "/" + data.data.url,
 				});