Blame view

ant-design-vue-jeecg/src/utils/permissions.js 142 Bytes
肖超群 authored
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 []
}