摘要: 使用query,页面刷新不会存在问题,也不需要在路由中配置。 { path:'/detail', component: detail, } 使用方法: 传递参数(JS中): this.$router.push({ path: '/detail', query:{key: item.id} }); 传 阅读全文
posted @ 2022-03-25 17:13 浔余樱 阅读(347) 评论(0) 推荐(0)
摘要: 由于需求,要实现hover时添加边框,原代码如下 1 .item { 2 position: relative; 3 display: flex; 4 flex-direction: column; 5 width: 30%; 6 border-radius: 4px; 7 padding: 30p 阅读全文
posted @ 2022-03-23 11:35 浔余樱 阅读(171) 评论(0) 推荐(0)