mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update admin.js
This commit is contained in:
parent
b7563c2c34
commit
d0a52963b5
@ -226,6 +226,7 @@ $(function () {
|
|||||||
};
|
};
|
||||||
/*! 内容区域动态加载后初始化 */
|
/*! 内容区域动态加载后初始化 */
|
||||||
this.reInit = function ($dom) {
|
this.reInit = function ($dom) {
|
||||||
|
layui.form.render(), layui.element.render();
|
||||||
$(window).trigger('scroll'), $.vali.listen(this), $dom = $dom || $(this.selecter);
|
$(window).trigger('scroll'), $.vali.listen(this), $dom = $dom || $(this.selecter);
|
||||||
return $dom.find('[required]').map(function ($parent) {
|
return $dom.find('[required]').map(function ($parent) {
|
||||||
if (($parent = $(this).parent()) && $parent.is('label')) {
|
if (($parent = $(this).parent()) && $parent.is('label')) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user