feat: 修复发布时图片未上传完成导致详情图片丢失的问题,修复详情球局日期展示问题,修复球局管理取消活动无响应的问题
This commit is contained in:
@@ -43,12 +43,12 @@ const CancelPopup = forwardRef((props, ref) => {
|
||||
}
|
||||
|
||||
async function handleConfirm() {
|
||||
if (!cancelReason) {
|
||||
if (!cancelReason && hasOtherJoin) {
|
||||
Taro.showToast({ title: "请输入取消原因", icon: "none" });
|
||||
return;
|
||||
}
|
||||
try {
|
||||
await onFinish.current(cancelReason);
|
||||
await onFinish.current(hasOtherJoin ? cancelReason : "无责取消");
|
||||
onClose();
|
||||
} catch (e) {
|
||||
console.log(e, 1221);
|
||||
|
||||
Reference in New Issue
Block a user