You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
821 B

5 years ago
  1. import Vue from 'vue'
  2. /* Layout */
  3. import Layout from '../views/layout/Layout'
  4. const _import = require('./_import_' + process.env.NODE_ENV)
  5. export default {
  6. routes:[
  7. {
  8. path: '/mdp/im',
  9. component: Layout,
  10. name: '即聊',
  11. meta: {
  12. title: '即聊',
  13. icon: 'example'
  14. },
  15. iconCls: 'fa el-icon-menu',
  16. //leaf: true,//只有一个节点
  17. children: [
  18. { path: 'messages/messageChat', name: 'messageChat', meta: { title: '即聊' ,openTab:true,outUrl:'${curlDomain}/im/'+process.env.VERSION+'/#/mdp/im/messages/messageChat',menu:false} },
  19. { path: 'messages/crmChat', name: 'crmChat', meta: { title: '客服' ,openTab:true,outUrl:'${curlDomain}/im/'+process.env.VERSION+'/#/mdp/im/messages/messageChat',menu:false} }
  20. ]
  21. },
  22. ]
  23. }