|
@@ -749,6 +749,9 @@ function inputShow(e,n,t)
|
|
|
if (c.indexOf('validate[required]') > -1) {
|
|
|
$(".show_" + n).find(array[a]).removeClass('validate[required]').addClass('validates');
|
|
|
}
|
|
|
+ if (c.indexOf('validates') > -1) {
|
|
|
+ $(".show_" + n).find(array[a]).removeClass('validates').addClass('validate[required]');
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -2176,7 +2179,9 @@ function fastEdit(e, url, title, col, index, type)
|
|
|
}
|
|
|
$('.layui-layer-content').css('overflow-x', 'hidden');
|
|
|
$('#update_button').hide();
|
|
|
- layui.use(['formSelects'], function(){
|
|
|
+ layui.use(['formSelects', 'form'], function(){
|
|
|
+ var form = layui.form;
|
|
|
+ form.render();
|
|
|
$("select").each(function()
|
|
|
{
|
|
|
if ($(this).attr('xm-select')) {
|