摘要: git status 查看文件状态 git add 需要提交的文件路径 git stash -u -k 忽略其他文件 git commit -m “修改” git pull 拉取合并 git push 推送 git stash pop 恢复之前忽略的文件 阅读全文
posted @ 2023-12-26 18:12 枫若 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 原因:安装 node-sass 的项目依赖 node 的版本,维护的项目依赖的 node 版本和自己电脑安装的 node 版本不一致的问题(没必要一直升级 node 版本,把时间花在搞环境上)。 方案: 1.要么电脑安装 nvm 管理切换不同的 node 版本,切换还是不太方便,而且不能同时启动依赖 阅读全文
posted @ 2024-09-06 15:56 枫若 阅读(1186) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/fps2tao/p/18198038 nodejs各种版本https://nodejs.org/dist/ 阅读全文
posted @ 2024-09-06 14:29 枫若 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 删除之前的 npm uninstall node-sass sass-loader 安装指定版本 npm i node-sass@9.0.0 sass-loader@10.5.1 --save -dev 阅读全文
posted @ 2024-09-03 14:41 枫若 阅读(173) 评论(0) 推荐(0) 编辑
摘要: CommonJS与ES6 Module的区别 CommonJS 1.模块依赖关系的建立发生在代码运行阶段 2.导出值的拷贝 cal.js module.exports={name:'cal'} index.js const name=require('./cal.js').name //requir 阅读全文
posted @ 2024-08-06 16:23 枫若 阅读(12) 评论(0) 推荐(0) 编辑
摘要: <el-input size="mini" v-model="searchData.weight" type="number" @input="validateNumber" class="search_val"> </el-input> validateNumber (value) { const 阅读全文
posted @ 2024-05-17 10:41 枫若 阅读(1705) 评论(0) 推荐(1) 编辑
摘要: <template> <div class="header_sty" id="header_sty"> <div v-if="mobilMenu">test</div> </div> </template> <script> data(){ return{ mobilMenu :false, } } 阅读全文
posted @ 2024-05-11 17:35 枫若 阅读(657) 评论(0) 推荐(0) 编辑
摘要: --staged表示将文件从暂存区中恢复到工作区中。需要取消暂存的文件可以换成通配符,例如取消所有文件的暂存,可以使用如下命令: git restore --staged . 阅读全文
posted @ 2024-03-05 14:56 枫若 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 安装 (注意安装顺序) npm install --save html2canvas npm install --save jspdf 文件htmlToPdf.js // 导出页面为PDF格式 import html2Canvas from 'html2canvas' import JsPDF fr 阅读全文
posted @ 2024-02-24 16:04 枫若 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 1.合并多行 objectSpanMethod ({ row, column, rowIndex, columnIndex }, list) { // console.log("objectSpanMethod", columnIndex, list) if (columnIndex 4 || co 阅读全文
posted @ 2023-04-21 11:03 枫若 阅读(66) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示