[Update] 修改csv导出,最大限制条目数从100->10000条

pull/4147/head
Bai 2020-06-28 10:43:47 +08:00
parent 2acc1dc875
commit cf6aba1f38
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class JMSCSVRender(BaseRenderer):
@staticmethod
def _gen_table(data, fields):
data = data[:100]
data = data[:10000]
yield ['*{}'.format(f.label) if f.required else f.label for f in fields]
for item in data: