new-api/web/src/helpers/other.js

8 lines
170 B
JavaScript
Raw Normal View History

2025-04-04 12:00:38 +08:00
export function getLogOther(otherStr) {
if (otherStr === undefined || otherStr === '') {
otherStr = '{}';
}
let other = JSON.parse(otherStr);
return other;
}