摘要:
1 1、使用cdn方式引入不常修改的第三方插件 2 2、使用路由懒加载,例如: 3 { 4 path: "*", 5 component: resolve => require(['../views/404.vue'],resolve) 6 },// 第二种路由懒加载 component: () = 阅读全文
posted @ 2020-10-10 17:41
yw3692582
阅读(2201)
评论(0)
推荐(0)
摘要:
1 // 解决重复点击链接的报错,在router.js中添加 2 const originalPush = Router.prototype.push 3 Router.prototype.push = function push(location) { 4 return originalPush. 阅读全文
posted @ 2020-10-10 17:39
yw3692582
阅读(250)
评论(0)
推荐(0)

浙公网安备 33010602011771号