报错[Vue warn]: Duplicate keys detected: '/'. This may cause an update error. 解决办法: router中index.js更改两个同时展开子节点的path路径,改为不同的值 原: path: '/' 改为: path:'/mail'