diff --git a/src/pages/salon/index.tsx b/src/pages/salon/index.tsx
index 1057600..8ac4118 100644
--- a/src/pages/salon/index.tsx
+++ b/src/pages/salon/index.tsx
@@ -28,7 +28,7 @@ import qrcode from "../../images/qrcode.png";
const Salon = () => {
const [meetupQR, setmeetupQR] = useState(false);
const [isWeChat, setisWeChat] = useState(false);
- const [type, settype] = useState(window.localStorage.getItem("type"));
+ const [meetup, setmeetup] = useState(window.localStorage.getItem("meetup"));
useEffect(() => {
isWeChatFun();
@@ -148,7 +148,7 @@ const Salon = () => {
{/* 已报名 */}
- {type == 1 ? (
+ {meetup == 1 ? (
{
size="normal"
className="joinSalon"
onClick={() => {
- if (type == 1) {
+ if (meetup == 1) {
return false;
} else {
if (!!isWeChat) {
- payh5(1, 290);
+ payh5('meetup', 2900);
} else {
setmeetupQR(true);
}
}
}}
>
- {type == 1 ? "已报名" : `立即报名`}
+ {meetup == 1 ? "已报名" : `立即报名`}