Files
laws_chery_client/src/utils/permissions.js
T
2024-06-11 15:39:01 +08:00

9 lines
144 B
JavaScript

export function actionToObject (json) {
try {
return JSON.parse(json)
} catch (e) {
console.log('err', e.message)
}
return []
}