From a1d261d6c92c38d9e496e11d1bc224ecc1d34798 Mon Sep 17 00:00:00 2001 From: nickchange <126672920+nickchange@users.noreply.github.com> Date: 星期二, 14 十一月 2023 09:14:57 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherTwo.js | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherTwo.js b/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherTwo.js index ac30f9f..f357f36 100644 --- a/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherTwo.js +++ b/cloud-server-management/src/main/webapp/static/modular/system/tShop/tShopOtherTwo.js @@ -828,7 +828,11 @@ Feng.info("请填写板块名称") return; } - + let sort = $("#sort").val() + if(sort=='' || sort ==null){ + Feng.info("请填写排序") + return; + } //提交信息 var ajax = new $ax(Feng.ctxPath + "/tShop/addConfig1", function(data){ if(data.code == 200){ @@ -844,6 +848,7 @@ }); ajax.set("name",name); ajax.set("id",$("#id").val()); + ajax.set("sort",$("#sort").val()); ajax.start(); } TCompetition.close = function() { -- Gitblit v1.7.1