This commit is contained in:
hackrobot
2024-10-06 08:04:58 +08:00
parent fe40e5606f
commit 030ba5a88e
2 changed files with 12 additions and 12 deletions

View File

@@ -42,12 +42,12 @@ const Book = () => {
useEffect(() => {}, []); useEffect(() => {}, []);
const handleClick = (value) => { // const handleClick = (value) => {
// 跳转到目的页面,在当前页面打开 // // 跳转到目的页面,在当前页面打开
Taro.navigateTo({ // Taro.navigateTo({
url: "/pages/index/index", // url: "/pages/index/index",
}); // });
}; // };
return ( return (
<View className="Book"> <View className="Book">

View File

@@ -37,12 +37,12 @@ const Salon = () => {
isWeChatFun(); isWeChatFun();
}, []); }, []);
const handleClick = (value) => { // const handleClick = (value) => {
// 跳转到目的页面,在当前页面打开 // // 跳转到目的页面,在当前页面打开
Taro.navigateTo({ // Taro.navigateTo({
url: "/pages/index/index", // url: "/pages/index/index",
}); // });
}; // };
// 是否在微信客户端 // 是否在微信客户端
const isWeChatFun = () => { const isWeChatFun = () => {