fix(form): 修复赋值 (#2503)

pull/2510/head
morning-star 2025-02-15 17:23:32 +08:00 committed by GitHub
parent ab631a6bfe
commit 7560b87520
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ layui.define(['lay', 'layer', 'util'], function(exports){
var itemElem = itemForm.find('[name="'+ key +'"]');
// 如果对应的表单不存在,则不执行
if(!itemElem[0]) return;
if(!itemElem[0]) continue;
type = itemElem[0].type;
// 如果为复选框