* fix modal close unexpectedly on click pager in table.

This commit is contained in:
sunhao
2024-05-30 17:07:46 +08:00
parent 02c9a8c7ad
commit 804690b930
+1 -1
View File
@@ -1521,7 +1521,7 @@
if(options.closeModal) zui.Modal.hide(typeof options.closeModal === 'string' ? options.closeModal : $modal);
let app = options.app;
if(!options.app) options.app = $.apps.getAppCode(url, currentCode);
if(app === currentCode && options.load !== 'modal')
if(app === currentCode && options.load !== 'modal' && options.load !== 'table')
{
options.load === 'modal';
zui.Modal.query($modal).hide();