Commit b031b8b8 authored by XieZhiXiong's avatar XieZhiXiong

fix: 修复 编辑状态 分页数据未展示 的问题

parent ad27e281
......@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-05-28 15:24:56
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-18 15:57:10
* @LastEditTime: 2021-07-03 14:10:53
* @Description:
*/
import React, { useState } from 'react';
......@@ -92,7 +92,11 @@ const ComingConfigTable = (props) => {
};
const filtered = keyword ? value.filter((item) => item.fieldLocalName.includes(keyword)) : [...value];
const dataSource = pagingArr(page, size, filtered);
let dataSource = filtered;
if (!editable) {
dataSource = pagingArr(page, size, filtered);
}
return (
<div className={styles['config-table']}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment