摘要: 前言: 最近碰到一个问题需要对路由信息进行逻辑判断,但是我们的重定向文件都封装再一个js中,然后我又要使用 store 中方法,但是this.$store 显示 undefined 现在解决了 分享一下 解决方法: 直接在当前的js中引入store import store from '@/stor 阅读全文
posted @ 2021-01-27 17:15 有梦想的咸鱼7 阅读(2946) 评论(0) 推荐(0) 编辑