This commit is contained in:
xman 2025-04-01 17:20:53 +08:00
parent 7305d49275
commit 8cce217fa1

View File

@ -124,7 +124,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','layer'], function ($,
} }
}, },
{ {
name: 'add-record', name: 'addrecord',
text:"备忘", text:"备忘",
title:"备忘", title:"备忘",
icon: 'fa fa-list', icon: 'fa fa-list',
@ -245,6 +245,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','layer'], function ($,
finish: function () { finish: function () {
Controller.api.bindevent(); Controller.api.bindevent();
}, },
addrecord: function () {
Controller.api.bindevent();
},
api: { api: {
bindevent: function () { bindevent: function () {
Form.api.bindevent($("form[role=form]")); Form.api.bindevent($("form[role=form]"));