增加发布仅上海地区可发布、发布防抖

This commit is contained in:
筱野
2026-01-05 21:26:02 +08:00
parent fa328f893d
commit 3ab647f7c6
4 changed files with 40 additions and 8 deletions

View File

@@ -106,8 +106,15 @@ const SelectStadium: React.FC<SelectStadiumProps> = ({
})
setShowDetail(true)
},
fail: (err) => {
fail: (err: { errMsg: string }) => {
console.error('选择位置失败:', err)
const { errMsg } = err || {};
if (!errMsg.includes('fail cancel')) {
Taro.showToast({
title: errMsg,
icon: "none",
});
}
}
})
}