index.js 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505
  1. import Vue from 'vue'
  2. import Router from 'vue-router'
  3. const _import = require('./_import_' + process.env.NODE_ENV)
  4. // in development-env not use lazy-loading, because lazy-loading too many pages will cause webpack hot update too slow. so only in production use lazy-loading;
  5. // detail: https://panjiachen.github.io/vue-element-admin-site/#/lazy-loading
  6. Vue.use(Router)
  7. /* Layout */
  8. import Layout from '../views/layout/Layout'
  9. /** note: submenu only apppear when children.length>=1
  10. * detail see https://panjiachen.github.io/vue-element-admin-site/#/router-and-nav?id=sidebar
  11. **/
  12. /**
  13. * hidden: true if `hidden:true` will not show in the sidebar(default is false)
  14. * alwaysShow: true if set true, will always show the root menu, whatever its child routes length
  15. * if not set alwaysShow, only more than one route under the children
  16. * it will becomes nested mode, otherwise not show the root menu
  17. * redirect: noredirect if `redirect:noredirect` will no redirct in the breadcrumb
  18. * name:'router-name' the name is used by <keep-alive> (must set!!!)
  19. * meta : {
  20. roles: ['admin','editor'] will control the page roles (you can set multiple roles)
  21. title: 'title' the name show in submenu and breadcrumb (recommend set)
  22. icon: 'svg-name' the icon show in the sidebar,
  23. noCache: true if fasle ,the page will no be cached(default is false)
  24. }
  25. **/
  26. export const constantRouterMap = [
  27. { path: '/login', component: _import('login/index'), hidden: true },
  28. { path: '/authredirect', component: _import('login/authredirect'), hidden: true },
  29. { path: '/404', component: _import('error/404'), hidden: true },
  30. { path: '/401', component: _import('error/401'), hidden: true },
  31. {
  32. path: '',
  33. component: Layout,
  34. redirect: 'dashboard',
  35. children: [{
  36. path: 'dashboard',
  37. component: _import('dashboard/index'),
  38. name: 'dashboard',
  39. meta: { title: '首页', icon: 'dashboard', noCache: true }
  40. }]
  41. }
  42. ]
  43. export default new Router({
  44. // mode: 'history', // require service support
  45. scrollBehavior: () => ({ y: 0 }),
  46. routes: constantRouterMap
  47. })
  48. export const asyncRouterMap = [
  49. {
  50. path: '/cockpit',
  51. component: Layout,
  52. redirect: 'noredirect',
  53. name: 'cockpit',
  54. meta: {
  55. title: '运营驾驶舱',
  56. icon: 'paihang'
  57. },
  58. children: [
  59. { path: 'cockpit', component: _import('cockpit/index'), name: 'cockpit', meta: { title: '运营驾驶舱', icon: 'paihang', noCache: true }},
  60. ]
  61. },
  62. {
  63. path: '/activeUsers',
  64. component: Layout,
  65. redirect: 'noredirect',
  66. name: 'activeUsers',
  67. meta: {
  68. title: '活跃用户',
  69. icon: 'paihang'
  70. },
  71. children: [
  72. { path: 'activeUsers', component: _import('activeUsers/index'), name: 'activeUsers', meta: { title: '活跃用户', icon: 'paihang', noCache: true }},
  73. ]
  74. },
  75. {
  76. path: '/pointsLottery',
  77. component: Layout,
  78. redirect: 'noredirect',
  79. name: 'pointsLottery',
  80. meta: {
  81. title: '积分抽奖',
  82. icon: 'paihang'
  83. },
  84. children: [
  85. { path: 'pointsLottery', component: _import('pointsLottery/index'), name: 'pointsLottery', meta: { title: '积分抽奖', icon: 'paihang', noCache: true }},
  86. ]
  87. },
  88. {
  89. path: '/pointManage',
  90. component: Layout,
  91. redirect: 'noredirect',
  92. name: 'pointManage',
  93. meta: {
  94. title: '积分管理',
  95. icon: 'jifen'
  96. },
  97. children: [
  98. { path: 'pointInstructions', component: _import('pointManage/pointInstructions'), name: 'pointInstructions', meta: { title: '积分规则说明书', noCache: true }},
  99. { path: 'pointRulesList', component: _import('pointManage/pointRulesList'), name: 'pointRulesList', meta: { title: '积分规则列表', noCache: true }},
  100. { path: 'pointIndateList', component: _import('pointManage/pointIndateList'), name: 'pointIndateList', meta: { title: '积分有效期列表', noCache: true }},
  101. { path: 'pointList', component: _import('pointManage/pointList'), name: 'pointList', meta: { title: '积分列表', noCache: true }},
  102. { path: 'pointsDetailList', component: _import('pointManage/pointsDetailList'), name: 'pointsDetailList', meta: { title: '积分明细列表', noCache: true }},
  103. { path: 'pointsPlusOrMinus', component: _import('pointManage/pointsPlusOrMinus'), name: 'pointsPlusOrMinus', meta: { title: '积分加减列表', noCache: true }},
  104. ]
  105. },
  106. {
  107. path: '/goodsManage',
  108. component: Layout,
  109. redirect: 'noredirect',
  110. name: 'goodsManage',
  111. meta: {
  112. title: '商品管理',
  113. icon: 'shangpin'
  114. },
  115. children: [
  116. { path: 'goodsExchangeRules', component: _import('goodsManage/goodsExchangeRules'), name: 'goodsExchangeRules', meta: { title: '兑换须知', noCache: true }},
  117. { path: 'goodsList', component: _import('goodsManage/goodsList'), name: 'goodsList', meta: { title: '商品列表', noCache: true }},
  118. ]
  119. },
  120. {
  121. path: '/giftManage',
  122. component: Layout,
  123. redirect: 'noredirect',
  124. name: 'giftManage',
  125. meta: {
  126. title: '礼品管理',
  127. icon: 'lipin'
  128. },
  129. children: [
  130. { path: 'giftExchangeRules', component: _import('giftManage/giftExchangeRules'), name: 'giftExchangeRules', meta: { title: '兑换须知', noCache: true }},
  131. { path: 'giftList', component: _import('giftManage/giftList'), name: 'giftList', meta: { title: '礼品列表', noCache: true }},
  132. ]
  133. },
  134. {
  135. path: '/welfareManage',
  136. component: Layout,
  137. redirect: 'noredirect',
  138. name: 'welfareManage',
  139. meta: {
  140. title: '福利管理',
  141. icon: 'fuli'
  142. },
  143. children: [
  144. { path: 'welfareList', component: _import('welfareManage/welfareList'), name: 'welfareList', meta: { title: '福利列表', icon: 'lipin', noCache: true }},
  145. // { path: 'welfareList', component: _import('welfareManage/welfareList'), name: 'welfareList', meta: { title: '福利列表', noCache: false, hideTag: true, hidden: true}},
  146. ]
  147. },
  148. {
  149. path: '/exchangeManage',
  150. component: Layout,
  151. redirect: 'noredirect',
  152. name: 'exchangeManage',
  153. meta: {
  154. title: '兑换管理',
  155. icon: 'duihuan'
  156. },
  157. children: [
  158. { path: 'exchangeList', component: _import('exchangeManage/exchangeList'), name: 'exchangeList', meta: { title: '兑换列表', noCache: true }},
  159. { path: 'cancelledList', component: _import('exchangeManage/cancelledList'), name: 'cancelledList', meta: { title: '已作废列表', noCache: true }},
  160. { path: 'approvalList', component: _import('exchangeManage/approvalList'), name: 'approvalList', meta: { title: '待审批列表', noCache: true }},
  161. { path: 'pasList', component: _import('exchangeManage/pasList'), name: 'pasList', meta: { title: '待发货列表', noCache: true }},
  162. { path: 'voidList', component: _import('exchangeManage/voidList'), name: 'voidList', meta: { title: '订单已完成列表', noCache: true }},
  163. ]
  164. },
  165. {
  166. path: '/activityManage',
  167. component: Layout,
  168. redirect: 'noredirect',
  169. name: 'activityManage',
  170. meta: {
  171. title: '活动管理',
  172. icon: 'huodong'
  173. },
  174. children: [
  175. { path: 'activityList', component: _import('activityManage/activityList'), name: 'activityList', meta: { title: '活动列表', icon: 'huodong', noCache: true }},
  176. // { path: 'activityList', component: _import('activityManage/activityList'), name: 'activityList', meta: { title: '活动列表', noCache: false, hideTag: true, hidden: true}},
  177. ]
  178. },
  179. {
  180. path: '/answerGame',
  181. component: Layout,
  182. redirect: 'noredirect',
  183. name: 'answerGame',
  184. meta: {
  185. title: '答题管理',
  186. icon: 'huodong'
  187. },
  188. children: [
  189. { path: 'answerList', component: _import('answerGame/answerList'), name: 'answerList', meta: { title: '答题列表', icon: 'huodong', noCache: true }},
  190. ]
  191. },
  192. {
  193. path: '/noticeManage',
  194. component: Layout,
  195. redirect: 'noredirect',
  196. name: 'noticeManage',
  197. meta: {
  198. title: '通知管理',
  199. icon: 'tongzhi'
  200. },
  201. children: [
  202. { path: 'noticeList', component: _import('noticeManage/noticeList'), name: 'noticeList', meta: { title: '通知列表', icon: 'tongzhi', noCache: true }},
  203. // { path: 'noticeList', component: _import('noticeManage/noticeList'), name: 'noticeList', meta: { title: '通知列表', noCache: false, hideTag: true, hidden: true}},
  204. ]
  205. },
  206. {
  207. path: '/ranking',
  208. component: Layout,
  209. redirect: 'noredirect',
  210. name: 'ranking',
  211. meta: {
  212. title: '积分排行',
  213. icon: 'paihang'
  214. },
  215. children: [
  216. { path: 'rankingList', component: _import('ranking/rankingList'), name: 'rankingList', meta: { title: '积分排行', icon: 'paihang', noCache: true }},
  217. ]
  218. },
  219. {
  220. path: '/medalManage',
  221. component: Layout,
  222. redirect: 'noredirect',
  223. name: 'medalManage',
  224. meta: {
  225. title: '勋章管理',
  226. icon: 'xunzhang'
  227. },
  228. children: [
  229. { path: 'medalList', component: _import('medalManage/medalList'), name: 'medalList', meta: { title: '勋章列表', noCache: true }},
  230. { path: 'medalDataList/:id', component: _import('medalManage/medalDataList'), name: 'medalDataList', meta: { title: '勋章等级列表', noCache: false, hideTag: true, hidden: true }},
  231. ]
  232. },
  233. {
  234. path: '/raffleManage',
  235. component: Layout,
  236. redirect: 'noredirect',
  237. name: 'raffleManage',
  238. meta: {
  239. title: '抽奖管理',
  240. icon: 'huodong'
  241. },
  242. children: [
  243. { path: 'raffleList', component: _import('raffleManage/raffleList'), name: 'raffleList', meta: { title: '奖池列表', noCache: true }},
  244. { path: 'raffleLogsList', component: _import('raffleManage/raffleLogsList'), name: 'raffleLogsList', meta: { title: '抽奖记录', noCache: true }},
  245. { path: 'raffleDataList/:id', component: _import('raffleManage/raffleDataList'), name: 'raffleDataList', meta: { title: '奖池奖品', noCache: false, hideTag: true, hidden: true }},
  246. ]
  247. },
  248. {
  249. path: '/lotteryManage',
  250. component: Layout,
  251. redirect: 'noredirect',
  252. name: 'lotteryManage',
  253. meta: {
  254. title: '开奖管理',
  255. icon: 'huodong'
  256. },
  257. children: [
  258. { path: 'lotteryList', component: _import('lotteryManage/lotteryList'), name: 'lotteryList', meta: { title: '奖池列表', noCache: true }},
  259. { path: 'lotteryLogsList', component: _import('lotteryManage/lotteryLogsList'), name: 'lotteryLogsList', meta: { title: '抽奖记录', noCache: true }},
  260. { path: 'lotteryDataList/:id', component: _import('lotteryManage/lotteryDataList'), name: 'lotteryDataList', meta: { title: '奖池奖品', noCache: false, hideTag: true, hidden: true }},
  261. ]
  262. },
  263. {
  264. path: '/couponsManage',
  265. component: Layout,
  266. redirect: 'noredirect',
  267. name: 'couponsManage',
  268. meta: {
  269. title: '兑换卷管理',
  270. icon: 'huodong'
  271. },
  272. children: [
  273. { path: 'couponsList', component: _import('couponsManage/couponsList'), name: 'couponsList', meta: { title: '兑换卷列表', icon: 'huodong', noCache: true }},
  274. ]
  275. },
  276. {
  277. path: '/commendManage',
  278. component: Layout,
  279. redirect: 'noredirect',
  280. name: 'commendManage',
  281. meta: {
  282. title: '表彰管理',
  283. icon: 'xunzhang'
  284. },
  285. children: [
  286. { path: 'commendList', component: _import('commendManage/commendList'), name: 'commendList', meta: { title: '表彰列表', noCache: true }},
  287. { path: 'commendDataList/:id', component: _import('commendManage/commendDataList'), name: 'commendDataList', meta: { title: '表彰人员', noCache: false, hideTag: true, hidden: true }},
  288. { path: 'citeList', component: _import('commendManage/citeList'), name: 'citeList', meta: { title: '客户表彰列表', noCache: true }},
  289. { path: 'operateCiteList', component: _import('commendManage/operateCiteList'), name: 'operateCiteList', meta: { title: '客户表彰审批列表', noCache: true }},
  290. { path: 'ceoCiteList', component: _import('commendManage/ceoCiteList'), name: 'ceoCiteList', meta: { title: '客户表彰确认列表', noCache: true }},
  291. ]
  292. },
  293. {
  294. path: '/trainManage',
  295. component: Layout,
  296. redirect: 'noredirect',
  297. name: 'trainManage',
  298. meta: {
  299. title: '培训管理',
  300. icon: 'xunzhang'
  301. },
  302. children: [
  303. { path: 'upLoadFileRules', component: _import('trainManage/upLoadFileRules'), name: 'upLoadFileRules', meta: { title: '培训材料备注', noCache: true }},
  304. { path: 'trainList', component: _import('trainManage/trainList'), name: 'trainList', meta: { title: '培训列表', noCache: true }},
  305. { path: 'operateTrainList', component: _import('trainManage/operateTrainList'), name: 'operateTrainList', meta: { title: '培训审批列表', noCache: true }},
  306. { path: 'ceoTrainList', component: _import('trainManage/ceoTrainList'), name: 'ceoTrainList', meta: { title: '培训确认列表', noCache: true }},
  307. ]
  308. },
  309. {
  310. path: '/festivalManage',
  311. component: Layout,
  312. redirect: 'noredirect',
  313. name: 'festivalManage',
  314. meta: {
  315. title: '节日管理',
  316. icon: 'lipin'
  317. },
  318. children: [
  319. { path: 'festivalList', component: _import('festivalManage/festivalList'), name: 'festivalList', meta: { title: '节日列表', icon: 'lipin', noCache: true }},
  320. ]
  321. },
  322. {
  323. path: '/certManage',
  324. component: Layout,
  325. redirect: 'noredirect',
  326. name: 'certManage',
  327. meta: {
  328. title: '证书管理',
  329. icon: 'zhengshu'
  330. },
  331. children: [
  332. { path: 'certSetList', component: _import('certManage/certSetList'), name: 'certSetList', meta: { title: '证书配置列表', noCache: true }},
  333. { path: 'certRules', component: _import('certManage/certRules'), name: 'certRules', meta: { title: '积分获取规则', noCache: true }},
  334. { path: 'certList', component: _import('certManage/certList'), name: 'certList', meta: { title: '证书列表', noCache: true }},
  335. ]
  336. },
  337. {
  338. path: '/yeZhanManage',
  339. component: Layout,
  340. redirect: 'noredirect',
  341. name: 'yeZhanManage',
  342. meta: {
  343. title: '叶盏点赞活动',
  344. icon: 'zhengshu'
  345. },
  346. children: [
  347. { path: 'likeRules', component: _import('yeZhanManage/likeRules'), name: 'likeRules', meta: { title: '活动规则', noCache: true }},
  348. { path: 'likeList', component: _import('yeZhanManage/likeList'), name: 'likeList', meta: { title: '点赞列表', noCache: true }},
  349. { path: 'mallVideoList', component: _import('yeZhanManage/mallVideoList'), name: 'mallVideoList', meta: { title: '视频列表', noCache: true }},
  350. ]
  351. },
  352. {
  353. path: '/dictManage',
  354. component: Layout,
  355. redirect: 'noredirect',
  356. name: 'dictManage',
  357. meta: {
  358. title: '字典管理',
  359. icon: 'zidian'
  360. },
  361. children: [
  362. { path: 'dictList', component: _import('dictManage/dictList'), name: 'dictList', meta: { title: '字典列表', noCache: true }},
  363. { path: 'dictDataList/:id', component: _import('dictManage/dictDataList'), name: 'dictDataList', meta: { title: '字典数据', noCache: false, hideTag: true, hidden: true }},
  364. ]
  365. },
  366. {
  367. path: '/postManage',
  368. component: Layout,
  369. redirect: 'noredirect',
  370. name: 'postManage',
  371. meta: {
  372. title: '帖子管理',
  373. icon: 'fuli'
  374. },
  375. children: [
  376. { path: 'postList', component: _import('postManage/postList'), name: 'postList', meta: { title: '帖子列表', noCache: true }},
  377. { path: 'postApprovalList', component: _import('postManage/postApprovalList'), name: 'postApprovalList', meta: { title: '回复列表', noCache: true}},
  378. ]
  379. },
  380. {
  381. path: '/rankingManage',
  382. component: Layout,
  383. redirect: 'noredirect',
  384. name: 'rankingManage',
  385. meta: {
  386. title: '排行管理',
  387. icon: 'zhengshu'
  388. },
  389. children: [
  390. { path: 'answerRanking', component: _import('rankingManage/answerRanking'), name: 'answerRanking', meta: { title: '答题排行', noCache: true }},
  391. { path: 'gameRanking', component: _import('rankingManage/gameRanking'), name: 'gameRanking', meta: { title: '游戏排行', noCache: true}},
  392. ]
  393. },
  394. {
  395. path: '/user',
  396. component: Layout,
  397. redirect: 'noredirect',
  398. name: 'userManage',
  399. meta: {
  400. title: '用户管理',
  401. icon: 'people'
  402. },
  403. children: [
  404. { path: 'user', component: _import('user/user'), name: 'user', meta: { title: '联系人', noCache: true }},
  405. { path: 'checkUser', component: _import('user/checkUser'), name: 'checkUser', meta: { title: '待审核', noCache: true }},
  406. { path: 'approveHistory', component: _import('user/approveHistory'), name: 'approveHistory', meta: { title: '驳回记录', noCache: true }},
  407. { path: 'userDetail', component: _import('user/userDetail'), name: 'userDetail', meta: { title: '用户详情', noCache: false, hideTag: true, hidden: true }},
  408. { path: 'welfare', component: _import('user/welfare'), name: 'welfare', meta: { title: '用户福利', noCache: true }},
  409. ]
  410. },
  411. {
  412. path: '/community',
  413. component: Layout,
  414. redirect: 'noredirect',
  415. name: 'communityManage',
  416. meta: {
  417. title: '圈子管理',
  418. icon: 'example'
  419. },
  420. children: [
  421. { path: 'local', component: _import('organize/organizePlace'), name: 'local', meta: { title: '部门专委会', noCache: true }},
  422. { path: 'industry', component: _import('organize/organizeTrade'), name: 'industry', meta: { title: '技术专委会', noCache: true }},
  423. { path: 'interest', component: _import('organize/organizeInterest'), name: 'interest', meta: { title: '兴趣小组', noCache: true }}
  424. ]
  425. },
  426. {
  427. path: '/content',
  428. component: Layout,
  429. redirect: 'noredirect',
  430. name: 'contentManage',
  431. meta: {
  432. title: '内容&互动',
  433. icon: 'language'
  434. },
  435. children: [
  436. { path: 'yearLottoNotice', component: _import('content/yearLottoNotice'), name: 'yearLottoNotice', meta: { title: '年会抽奖规则', noCache: true }},
  437. { path: 'bannerManage', component: _import('content/banner'), name: 'bannerManage', meta: { title: 'Banner管理', noCache: true }},
  438. { path: 'schoolInfo', component: _import('content/index'), name: 'schoolInfo', meta: { title: '公司动态', noCache: true }},
  439. { path: 'newsCenter', component: _import('content/newsCenter'), name: 'newsCenter', meta: { title: '新闻中心', noCache: true }},
  440. { path: 'customerStories', component: _import('content/customerStories'), name: 'customerStories', meta: { title: '客户案例', noCache: true }},
  441. { path: 'alumniInfo', component: _import('content/index'), name: 'alumniInfo', meta: { title: '员工风采', noCache: true }},
  442. { path: 'recruitInfo', component: _import('content/index'), name: 'recruitInfo', meta: { title: '招聘季度之星', noCache: true }},
  443. { path: 'video', component: _import('content/index'), name: 'video', meta: { title: '年会视频', noCache: true }},
  444. { path: 'activityNews', component: _import('content/index'), name: 'activityNews', meta: { title: '公司活动', noCache: true }},
  445. { path: 'activity', component: _import('content/index'), name: 'activity', meta: { title: '互动', noCache: true }},
  446. { path: 'lecture', component: _import('content/index'), name: 'lecture', meta: { title: '信息中心', noCache: true }},
  447. { path: 'reading', component: _import('content/index'), name: 'reading', meta: { title: '季刊', noCache: true }},
  448. { path: 'manual', component: _import('content/index'), name: 'manual', meta: { title: '操作手册', noCache: true }},
  449. { path: 'rules', component: _import('content/index'), name: 'rules', meta: { title: '规章制度', noCache: true }},
  450. { path: 'notice', component: _import('content/index'), name: 'notice', meta: { title: '公告管理', noCache: true }},
  451. { path: 'comment', component: _import('content/comment'), name: 'comment', meta: { title: '评论管理', noCache: true }},
  452. { path: 'questions', component: _import('content/questions'), name: 'questions', meta: { title: '提问管理', noCache: true }},
  453. { path: 'contribute', component: _import('content/contribute'), name: 'contribute', meta: { title: '投稿管理', noCache: true }},
  454. { path: 'questionSort', component: _import('content/questionSort'), name: 'questionSort', meta: { title: 'PK类别管理', noCache: true }},
  455. { path: 'questionDetail', component: _import('content/questionDetail'), name: 'questionDetail', meta: { title: 'PK题目管理', noCache: true }},
  456. ]
  457. },
  458. {
  459. path: '/visitor',
  460. component: Layout,
  461. redirect: 'noredirect',
  462. name: 'visitorManage',
  463. meta: {
  464. title: '访客管理',
  465. icon: 'people'
  466. },
  467. children: [
  468. { path: 'visitorList', component: _import('visitor/visitorList'), name: 'visitorList', meta: { title: '访客', noCache: true }},
  469. { path: 'visitorDetail', component: _import('visitor/visitorDetail'), name: 'visitorDetail', meta: { title: '访客详情', noCache: false, hideTag: true, hidden: true }}
  470. ]
  471. },
  472. {
  473. path: '/sys',
  474. component: Layout,
  475. redirect: 'noredirect',
  476. name: 'sysManage',
  477. meta: {
  478. title: '系统管理',
  479. icon: 'chart'
  480. },
  481. children: [
  482. { path: 'admin', component: _import('sys/admin'), name: 'admin', meta: { title: '管理员', noCache: true }},
  483. { path: 'role', component: _import('sys/role'), name: 'role', meta: { title: '角色管理', noCache: true }},
  484. // { path: 'message', component: _import('sys/admin'), name: 'message', meta: { title: '系统消息', noCache: true, hideTag: true }}
  485. // { path: 'sms', component: _import('sys/admin'), name: 'sms', meta: { title: '短信通知', noCache: true, hideTag: true }},
  486. // { path: 'os', component: _import('sys/os'), name: 'os', meta: { title: '对象存储', noCache: true, hideTag: true }}
  487. ]
  488. },
  489. { path: '*', redirect: '/404', hidden: true }
  490. ]