src/menu/datasource/verifycard/index.jsx
@@ -717,6 +717,13 @@ let r = SettingUtils.getDebugSql(setting, _scripts, _columns, searches, config.subtype, config.hasExtend) if (type === 'submit' && r.custompage && setting.queryType !== 'statistics') { Modal.info({ title: '数据源或自定义脚本中使用了自定义分页,查询类型请使用统计!', }) reject() return } if (r.custompage && setting.laypage === 'true' && _columns.findIndex(col => col.field === 'mk_total') === -1) { if (config.subtype !== 'basetable') { const that = this