Commit 7c71c06e authored by 李家智's avatar 李家智
Browse files
parents d10e72c0 37606d65
...@@ -10,7 +10,7 @@ layui.define([ 'form', 'laydate', 'table','${entity.code}Api'], function(exports ...@@ -10,7 +10,7 @@ layui.define([ 'form', 'laydate', 'table','${entity.code}Api'], function(exports
initSubmit:function(){ initSubmit:function(){
$("#updateButton").click(function(){ $("#updateButton").click(function(){
form.on('submit(form)', function(){ form.on('submit(form)', function(){
${entity.code}Api.update${upperFirst(entity.code)}($('#updateForm'),function(){ ${entity.code}Api.update${upperFirst(entity.code)}($('#updateForm'),function(
parent.window.dataReload(); parent.window.dataReload();
Common.info("更新成功"); Common.info("更新成功");
Lib.closeFrame(); Lib.closeFrame();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment