Explorar el Código

添加、修改功能优化

wangrulan hace 2 años
padre
commit
6a62f69d9a
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      src/main/resources/templates/template.html

+ 6 - 0
src/main/resources/templates/template.html

@@ -534,6 +534,12 @@
                 area: ['600px', '600px'],
                 btn: ['确定'],
                 shadeClose: true,
+                success: function(layero, index){
+                    $('#templateName').val('');
+                    tree.reload('Id2', {
+                        //新的参数
+                    });
+                },
                 yes: function(index, layero){
                     const templateName = $('#templateName').val()
                     if (!templateName || templateName.length <= 0) {