上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: 解决方法: git init git config http.postBuffer 524288000 git remote add origin <REPO URL> git pull origin master(主分支) 参考 阅读全文
posted @ 2023-10-27 15:56 卑面派对 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 1、环境 系统: win7 node: v12.20.0 node版本不支持可选链操作符(?.),所有很多报错需要依赖包降级 2、package.json "stylelint": "^14.16.1", // node版本不支持v15 "stylelint-config-prettier": "^ 阅读全文
posted @ 2023-10-23 11:09 卑面派对 阅读(904) 评论(0) 推荐(0) 编辑
摘要: 1、如果你使用的yarn来安装依赖包,它提供了why命令来查看包依赖关系,使用方式为yarn why [package] 2、npm: npm install -g npm-why. 执行 npm-why [package] 阅读全文
posted @ 2023-10-20 11:39 卑面派对 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 执行npm命令 npm config set registry http://registry.npmjs.org/ 阅读全文
posted @ 2023-10-20 10:35 卑面派对 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 1、查看系统代理 *win7系统: 控制面板/Internet选项/连接/局域网设置/手动设置代理。并记住端口号(7890),下面会使用,其他系统同理 2、git 命令设置 git config --global http.proxy http://127.0.0.1:7890 git config 阅读全文
posted @ 2023-10-20 10:33 卑面派对 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 对于模块内部的 mutation 和 getter,接收的第一个参数是模块的局部状态对象state 对于模块内部的 action,局部状态通过 context.state 暴露出来,根节点状态则为 context.rootState 使用全局 state 和 getter,rootState 和 r 阅读全文
posted @ 2023-04-13 10:25 卑面派对 阅读(156) 评论(0) 推荐(0) 编辑
摘要: methods: { handleResize: debounce(function() { this.$emit('resize') }, 400) } debounce里面用箭头函数this指向错误,需用匿名函数 阅读全文
posted @ 2023-03-13 17:55 卑面派对 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 现场环境 切换路由失败,报Error: Loading css chunk xxx failed. 分析 1、本地开发 测试环境都一切完好,浏览器版本也一致。本地无法复现 2、路由采用懒加载,切换时加载资源报错 解决 1、怀疑是打包时候分包问题 2、那就不采用路由懒加载,将错误路由采用同步加载 { 阅读全文
posted @ 2023-02-15 15:38 卑面派对 阅读(41) 评论(0) 推荐(0) 编辑
摘要: git stash git stash list 查看所有stash git stash clear 清除所有stash git stash drop stash@{index} 清除index stash git stash pop git stash save '注释' 加备注 git 查看历史 阅读全文
posted @ 2022-12-03 10:39 卑面派对 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 横向滚动 隐藏横向滚动条 .el-scrollbar__wrap { overflow-x: hidden; } 显示横向滚动条 .el-scrollbar__wrap { overflow-x: auto; } .el-scrollbar__view { display: inline-block 阅读全文
posted @ 2022-09-20 11:46 卑面派对 阅读(623) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 8 下一页