zhaowei
8 天以前 f4e1b15e5f2986e21f3aea355b95927bf8bc85b5
1
2
3
4
5
6
7
8
export function actionToObject(json) {
  try {
    return JSON.parse(json)
  } catch (e) {
    console.log('err', e.message)
  }
  return []
}