From a6a70635191b47fdee08979c705bad18015b36a0 Mon Sep 17 00:00:00 2001 From: sunhao Date: Wed, 15 May 2024 09:25:04 +0800 Subject: [PATCH] * zin: fix js error on call loadTable. --- www/js/zui3/zin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/zui3/zin.js b/www/js/zui3/zin.js index 30bc6e0791..cc123eae87 100644 --- a/www/js/zui3/zin.js +++ b/www/js/zui3/zin.js @@ -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)