From a32a01b2e1491385111792b9b80fe1562e56d6d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Tue, 1 Mar 2022 20:53:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/admin.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/static/admin.js b/public/static/admin.js index 61f051bf4..f6af46633 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -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');