会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
年轻浅识
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
2021年12月15日
Vue报错NavigationDuplicated: Avoided redundant navigation to current location: "xxx".
摘要: 重复路由跳转问题 解决方法:router文件夹下的index.js中加入如下代码 const originalPush = Router.prototype.push Router.prototype.push = function push (location) { return original
阅读全文
posted @ 2021-12-15 17:29 年轻浅识
阅读(163)
评论(0)
推荐(0)
2021年2月3日
vue-cli环境安装配置(ubuntu)
摘要: 安装node.js 终端输入 添加源 curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash - 其中14为版本号,到官网https://nodejs.org/zh-cn/查看当前最新稳定版本替换即可 安装 sudo apt-get
阅读全文
posted @ 2021-02-03 14:47 年轻浅识
阅读(270)
评论(0)
推荐(0)
2021年1月4日
css解决top塌陷及清除浮动
摘要: margin-top 塌陷 两个盒子嵌套时,内部盒子设置margin-top会追加到外部盒子上,使内部盒子设置失败,解决方法: 外部盒子设置边框 外部盒子设置属性 overflow:hidden 使用伪元素类(推荐):给父元素添加clearfix类即可。 .clearfix:before{ cont
阅读全文
posted @ 2021-01-04 15:16 年轻浅识
阅读(88)
评论(0)
推荐(0)
上一页
1
2
3
4
5
公告