摘要: 1. 2. el-submenu或者el-menu-item的index设置成路由对应的字符串 比如:路由为http://localhost:8080/#/project/list时,将需要被选中的el-submenu或者el-menu-item的index设置为 index="project/li 阅读全文
posted @ 2017-10-17 17:33 ฅ˙-˙ฅ 阅读(10839) 评论(0) 推荐(1) 编辑
摘要: 只使用jquery: 1. cnpm install jquery --save 2. cnpm install @types/jquery --save-dev (不使用ts的不需要安装此声明文件) 3.在使用jquery的文件中: import $ from 'jquery'; 以上便可以在项目 阅读全文
posted @ 2017-10-17 16:12 ฅ˙-˙ฅ 阅读(1521) 评论(0) 推荐(0) 编辑