You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
509 B
14 lines
509 B
define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefined, Backend, Table, Form) {
|
|
|
|
var Controller = {
|
|
index: function () {
|
|
$("#cxselect-example .col-xs-12").each(function () {
|
|
$("textarea", this).val($(this).prev().prev().html().replace(/[ ]{2}/g, ''));
|
|
});
|
|
|
|
//这里需要手动为Form绑定上元素事件
|
|
Form.api.bindevent($("form#cxselectform"));
|
|
}
|
|
};
|
|
return Controller;
|
|
}); |