From 8c6b3a6a55911081fb4b05f327b9100b8acc6dab Mon Sep 17 00:00:00 2001 From: lSun <15893999301@qq.com> Date: Wed, 20 Aug 2025 17:09:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8F=AD=E7=BB=84=E6=B3=A8=E5=86=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/evaluate/teamGroup/registerEdit.js | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/src/main/resources/static/js/evaluate/teamGroup/registerEdit.js b/src/main/resources/static/js/evaluate/teamGroup/registerEdit.js index 6783c99..c4710f6 100644 --- a/src/main/resources/static/js/evaluate/teamGroup/registerEdit.js +++ b/src/main/resources/static/js/evaluate/teamGroup/registerEdit.js @@ -58,18 +58,23 @@ function setParams(id,index,title){ }, }) - //查询数据 - $.ajax({ - url: `${ctxPath}` + '/organizational/getRegisterTeamGroup?id=' + id, - type: 'GET', - dataType: "JSON", - success: function (result) { - $("#id").val(id) - if (result.res === 1) { - setFormData(result.obj); + + setTimeout(function() { + //查询数据 + $.ajax({ + url: `${ctxPath}` + '/organizational/getRegisterTeamGroup?id=' + id, + type: 'GET', + dataType: "JSON", + success: function (result) { + $("#id").val(id) + if (result.res === 1) { + setFormData(result.obj); + } } - } - }); + }); + }, 300); + + //回显数据 function setFormData(data) {