This commit is contained in:
dzc committed 2024-11-12 09:56:21 +08:00
1 parent 96a9bdfec8
commit 328489c6dd
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -164,7 +164,7 @@ const doPay = async () => {
if (submitCode != 0) throw new Error()
uni.hideLoading()
uni.showToast({ title: '支付成功', icon: "none" });
router.jump("/pages/order/detail", { id: createData }, 3)
router.jump("/pages/tabbar/order")
} catch (error) {
console.error(error);
uni.hideLoading()
+6
View File
@@ -23,6 +23,9 @@ export default {
url: "/hardware/order/create-order",
method: "POST",
data,
custom: {
showLoading: false,
},
});
},
// 结算
@@ -31,6 +34,9 @@ export default {
url: "/hardware/order/submit-order",
method: "POST",
data,
custom: {
showLoading: false,
},
});
},
};