摘要: 在 vue-router4 中再使用 tag 属性的话会报警告: 在 vue-routerv3.1.x 以上版本,新增 v-slot,推荐使用 custom、v-slot 代替 tag 属性 官方文档中的介绍是:<router-link> 是否应该将其内容包裹在 <a> 元素中,在使用 v-slot 阅读全文
posted @ 2022-04-02 18:10 隔壁的小明 阅读(1056) 评论(0) 推荐(0)