From 6d934d0ac5f783e23ec5c300a5d0c8e1dc90827d Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期五, 08 三月 2024 17:08:30 +0800 Subject: [PATCH] 1.23新增需求 bug修改 --- cloud-server-management/src/main/webapp/static/modular/system/worldCup/worldCup_info.js | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/worldCup/worldCup_info.js b/cloud-server-management/src/main/webapp/static/modular/system/worldCup/worldCup_info.js index ae905e3..ab0fe5c 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/worldCup/worldCup_info.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/worldCup/worldCup_info.js @@ -46,6 +46,9 @@ let coverImg = $('#coverImg').val(); let homeBackdropImg = $('#homeBackdropImg').val(); let content = editor.getContent(); + if("" == registrationClosingTime){ + registrationClosingTime = null; + } if(null == name || '' == name){ Feng.error("请填写有效的比赛名称"); return @@ -209,6 +212,9 @@ let coverImg = $('#coverImg').val(); let homeBackdropImg = $('#homeBackdropImg').val(); let content = editor.getContent(); + if("" == registrationClosingTime){ + registrationClosingTime = null; + } if(null == name || '' == name){ Feng.error("请填写有效的比赛名称"); return @@ -411,7 +417,7 @@ }); - if(null != $('#id').val()){ + if(null != $('#id').val() && '' != $('#id').val()){ WorldCupInfo.stores = JSON.parse($('#storeInfo').val()); WorldCupInfo.initStore(); let lng = $('#longitude').val(); -- Gitblit v1.7.1