诗画扫码测试

This commit is contained in:
weiwei committed 2025-04-08 18:40:38 +08:00
1 parent b8c6a397ff
commit 4002c60297
2 files changed
+23 -9

No files matched your search

+2 -2
View File
@@ -48,7 +48,7 @@ const selectRole = (role: "user" | "merchant") => (userRole.value = role)
// 确认选择
const confirmRole = () => {
uni.setStorageSync("userRole", userRole.value)
if (userRole.value === "user") uni.reLaunch({ url: "/pages/tabbar/coopMerchant" })
if (userRole.value === "merchant") uni.reLaunch({ url: "/pages/tabbar/individualOrder" })
if (userRole.value === "user") uni.redirectTo({ url: "/pages/tabbar/coopMerchant" })
if (userRole.value === "merchant") uni.redirectTo({ url: "/pages/tabbar/individualOrder" })
}
</script>