add.js 314 B

12345678910111213
  1. define(['jquery', 'form'], function($, Form) {
  2. var Controller = {
  3. add: function() {
  4. Controller.api.bindevent();
  5. },
  6. api: {
  7. bindevent: function() {
  8. Form.api.bindevent($('form.layui-form'));
  9. }
  10. }
  11. };
  12. return Controller;
  13. });