* zin: fix js error on call loadTable.

This commit is contained in:
sunhao
2024-05-15 09:36:23 +08:00
parent cdaee44fdc
commit a6a7063519
+1 -1
View File
@@ -780,7 +780,7 @@
}
if(target[0] !== '#' && target[0] !== '.') target = `#${target}`;
let selector = `dtable/${target}:component`;
options
options = options || {};
if(options.selector && options.selector !== 'dtable') selector = options.selector;
const isInModal = $(target).closest('.modal').length;
if(!isInModal && !options.selector)