07 2020 档案
摘要:分享一种平时用的三段式布局(flex) 主要思路是 上中下 header&footer 给高度 main 占其余部分 html 部分 <div class='wrap'> <div class='header'></div> <div class='main'></div> <div class='
阅读全文
摘要:vue 的路由跳转 声明式路由:<router-link><router-link> 编程式跳转: this.$router.push(`/path${id}`) & this.$router.push({name:'detail', params:{id}}) 动态路由 { path:'/main
阅读全文
摘要:1、在package.json文件同级目录下新建 vue.config.js module.exports = { devServer: { proxy: { '/ajax': { target: 'https://m.maoyan.com', //后台接口域名 // ws: true, //如果要
阅读全文
摘要:<router-link @click.native='changeInd()'></router-link> 添加默认click会被阻止 要加 .native修饰符
阅读全文
摘要:.eslintrc文件 module.exports = { root: true, env: { node: true }, extends: [ 'plugin:vue/essential', '@vue/standard' ], parserOptions: { parser: 'babel-
阅读全文

浙公网安备 33010602011771号