src/menu/datasource/verifycard/index.jsx
@@ -663,6 +663,7 @@ let _debugId = md5(r.sql) if (r.custompage && setting.laypage === 'true' && _columns.findIndex(col => col.field === 'mk_total') === -1) { if (config.subtype !== 'basetable') { Modal.warning({ title: `数据源或自定义脚本中使用自定义分页排序时,请在字段集中添加 mk_total。`, okText: '知道了', @@ -671,6 +672,13 @@ } }) return } else { notification.warning({ top: 92, message: '数据源或自定义脚本中使用自定义分页排序时,请在显示列中添加 mk_total。', duration: 5 }) } } if (debugId === _debugId) {