Преглед на файлове

添加、修改功能优化

wangrulan преди 1 година
родител
ревизия
6a62f69d9a
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  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) {