|
@@ -2425,20 +2425,9 @@ function fastEdit(e, url, title, col, index, type)
|
|
|
if ($('#update_button').length) {
|
|
|
$('#update_button').hide();
|
|
|
}
|
|
|
-
|
|
|
- layui.config({
|
|
|
- base: '../script/lib/layui/admin/' //静态资源所在路径
|
|
|
- ,version:true
|
|
|
- }).extend({
|
|
|
- formSelects: 'plugin/formselects/formselects',
|
|
|
- }).use(['formSelects', 'form'], function(){
|
|
|
+ console.info(form);
|
|
|
+ layui.use(['form'], function(){
|
|
|
layui.form.render();
|
|
|
- $("select").each(function()
|
|
|
- {
|
|
|
- if ($(this).attr('xm-select')) {
|
|
|
- layui.formSelects.render($(this).attr('xm-select'));
|
|
|
- }
|
|
|
- })
|
|
|
});
|
|
|
init(560);
|
|
|
});
|