new-api/web/src/helpers/other.js
2024-06-26 18:04:49 +08:00

7 lines
184 B
JavaScript

export function getLogOther(otherStr) {
if (otherStr === undefined || otherStr === '') {
otherStr = '{}'
}
let other = JSON.parse(otherStr)
return other
}