mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
修改初始化
This commit is contained in:
parent
e7a326e9d7
commit
a32a01b2e1
@ -225,7 +225,8 @@ $(function () {
|
||||
};
|
||||
/*! 内容区域动态加载后初始化 */
|
||||
this.reInit = function ($dom) {
|
||||
$(window).trigger('scroll'), $.vali.listen(this), $dom = $dom || $(this.selecter);
|
||||
layui.element.render(), layui.form.render();
|
||||
$(window).trigger('scroll'), $.vali.listen(), $dom = $dom || $(this.selecter);
|
||||
return $dom.find('[required]').map(function ($parent) {
|
||||
if (($parent = $(this).parent()) && $parent.is('label')) {
|
||||
$parent.addClass('label-required-prev');
|
||||
|
Loading…
x
Reference in New Issue
Block a user