报名冲突弹窗显示

This commit is contained in:
马梓彭 2026-09-23 11:32:38 +08:00
parent 341449efe9
commit 6cdbc303a5

View File

@ -113,7 +113,11 @@ function toastForEventStatus(es) {
function showRefereeApplyFailure(message, fallbackMessage) {
const content = String(message || fallbackMessage || '报名执裁失败');
if (content.includes('执裁时间存在重叠')) {
const isTimeConflict = content.includes('执裁时间') &&
(content.includes('重叠') || content.includes('冲突'));
if (isTimeConflict) {
wx.hideLoading();
wx.hideToast();
wx.showModal({
title: '报名提示',
content,