10 2019 档案

摘要:1、通过标签<router-link> 2、通过方法 this.$router.push() html script 阅读全文
posted @ 2019-10-25 15:40 xiiiiiimi 阅读(2783) 评论(1) 推荐(0)
摘要:import store from '@/store' const Vue = require('vue') const Router = require('vue-router') Vue.use(Router) const router = new Router({ scrollBehavior (to, from, savedPosition) { return {x: 0, y: 0} } 阅读全文
posted @ 2019-10-17 20:19 xiiiiiimi 阅读(818) 评论(0) 推荐(0)
摘要:vue 页面文件 <template> <div> {{this.$store.state.count}}<br/> {{count}}<br/> {{this.$store.getters.changeCount}}<br/> <el-button type="primary" @click="a 阅读全文
posted @ 2019-10-14 11:10 xiiiiiimi 阅读(8040) 评论(0) 推荐(0)
摘要:axios 部分: cookie 部分: main.js 中引用: 阅读全文
posted @ 2019-10-11 11:13 xiiiiiimi 阅读(2040) 评论(0) 推荐(0)