import request from '@/utils/request'
import axios from 'axios'
/**
 * Created by suntao on 2020/1/24.
 */
// console.log("b")
//
// async function getMenu() {
//   console.log("rep 1")
//   await request('kam/menu').then(rep => {
//     console.log("rep " + rep.code)
//     if(rep.code === 200000){
//       console.log("rep")
//       return rep.data
//     }else{
//       console.log("rep else")
//       return []
//     }
//   })
//   console.log("rep 2")
// }
//
// let data = getMenu()
//
// console.log("end")

export default [
  {
    name: '菜单',
    items:
        [
      {
        name: 'KA渠道信息配置',
        path: '/home/channels',
        icon: 'form'
      }, {
        name: 'report系统配置',
        path: '/home/report',
        icon: 'nested'
      }, {
        name: '统计视图',
        path: '/home/metabase',
        icon: 'eye-open'
      }, {
        name: '统计视图2',
        path: '/home/test',
        icon: 'eye-open'
      }

    ]
  }
]
