摘要:
1.1, 配置动态路由 const routes = [ { path: '/detail/:id', name: 'MovieDetailForm', component: MovieDetailForm } ] 1.2, 在跳转路径设置参数,不用传参数名 <router-link tag="li 阅读全文
摘要:
把favicon.ico放到 index.html的同一目录在index.html 中引入图标 <link rel="icon" href="favicon.ico" type="image/x-icon"/> 阅读全文
摘要:
在main.js入口文件引入 import { AjaxPlugin } from 'vux' Vue.use(AjaxPlugin) 组件中直接使用如下,会报错跨域的问题: this.$http.get('https://xxx.cn/ruoyi/wx/sys/loadNavBar?state=1 阅读全文