feat: 提示优化
This commit is contained in:
1 parent
5180b04558
commit
895a1ace5f
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -2,7 +2,7 @@
|
||||
"appid": "wx23f86d809ae80259",
|
||||
"projectname": "longli-mp",
|
||||
"description": "龙里文旅 · 微信小程序",
|
||||
"miniprogramRoot": "dist/dev/mp-weixin/",
|
||||
"miniprogramRoot": "dist/build/mp-weixin/",
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "3.5.0",
|
||||
"setting": {
|
||||
|
||||
@@ -93,7 +93,7 @@ const onClaim = async (benefit) => {
|
||||
uni.showToast({ title: CLAIM_REASON_TEXT[benefit.reason] || "该权益暂不可领取", icon: "none" });
|
||||
return;
|
||||
}
|
||||
if (!requireLogin()) return;
|
||||
if (!requireLogin(true)) return;
|
||||
await store.claim(benefit.id);
|
||||
uni.showToast({ title: "领取成功", icon: "none" });
|
||||
setTimeout(() => {
|
||||
|
||||
Reference in new issue
Block a user