From 9159d85d05cf86746bb80291e6084c887952fc03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9A=E4=B8=B9ab?= <1421553879@qq.com> Date: Thu, 13 Oct 2022 23:09:50 +0800 Subject: [PATCH] 11 --- web/src/main/resources/static/js/jlw/competition/add.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/web/src/main/resources/static/js/jlw/competition/add.js b/web/src/main/resources/static/js/jlw/competition/add.js index cdc3ca59..f1fe0932 100644 --- a/web/src/main/resources/static/js/jlw/competition/add.js +++ b/web/src/main/resources/static/js/jlw/competition/add.js @@ -535,9 +535,7 @@ layui.define([ 'form', 'laydate', 'table','element','upload','competitionApi','t height: '300px', data: function(){ return getTreeByCourseLabelTypes - },hide(){ - loadTreeList4(); - } + }, }); } }else { @@ -764,7 +762,7 @@ layui.define([ 'form', 'laydate', 'table','element','upload','competitionApi','t data: function(){ return getTreeByCourseLabelTypes }, - hide(){ + hide:function(){ loadTreeList4(); } });