From 66d511b3f6664eb2cd36f39c6531f1d1dcd37b2e Mon Sep 17 00:00:00 2001 From: weizhiqiang <598748873@qq.com> Date: Mon, 17 Apr 2023 17:09:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=A1=A8=E6=A0=BC=E5=B7=A5?= =?UTF-8?q?=E5=85=B7=E7=B1=BB=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../assets/lib/layui/customer/tableUtil/initTableChooseUtil.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/main/resources/template/assets/lib/layui/customer/tableUtil/initTableChooseUtil.js b/web/src/main/resources/template/assets/lib/layui/customer/tableUtil/initTableChooseUtil.js index 1f9d7d279..0084981e7 100644 --- a/web/src/main/resources/template/assets/lib/layui/customer/tableUtil/initTableChooseUtil.js +++ b/web/src/main/resources/template/assets/lib/layui/customer/tableUtil/initTableChooseUtil.js @@ -64,7 +64,7 @@ var initTableChooseUtil = { $.each(newOptions.cols, function (i, item) { var colHeaderId = isNull(item.colHeaderId) ? "" : ("id = " + item.colHeaderId); var bs = ''; - if (item.verify.indexOf('required') >= 0) { + if (!isNull(item.verify) && item.verify.indexOf('required') >= 0) { bs = '*'; } headerStr += '' + item.title + bs + ''; -- GitLab