mirror of https://github.com/jumpserver/jumpserver
[Update] 修改csv导出,最大限制条目数从100->10000条
parent
2acc1dc875
commit
cf6aba1f38
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue