mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-01-05 15:44:09 +00:00
fix: 资产登录规则操作日志显示优化
This commit is contained in:
committed by
Jiangjie.Bai
parent
9574d03c12
commit
ef2ecb225a
@@ -103,8 +103,6 @@ class OperatorLogHandler(metaclass=Singleton):
|
||||
return ''
|
||||
if isinstance(value[0], str):
|
||||
return ','.join(value)
|
||||
if isinstance(value[0], dict) and value[0].get('value') and isinstance(value[0]['value'], str):
|
||||
return ','.join([str(i['value']) for i in value])
|
||||
return json.dumps(value)
|
||||
|
||||
def __data_processing(self, dict_item, loop=True):
|
||||
|
||||
Reference in New Issue
Block a user