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(); } });