Browse Source

添加、修改功能优化

wangrulan 2 năm trước cách đây
mục cha
commit
6a62f69d9a
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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) {