摘要: https://www.lodashjs.com/ https://lodash.com/docs/4.17.15 阅读全文
posted @ 2022-10-19 11:45 小魏code 阅读(37) 评论(0) 推荐(0) 编辑
摘要: const fs = require('fs'); const path = require('path'); const actionsall = fs.readFileSync(path.resolve(__dirname, './commitApps.txt'), 'utf-8'); cons 阅读全文
posted @ 2022-10-19 10:58 小魏code 阅读(135) 评论(0) 推荐(0) 编辑
摘要: /** * fileDisplay(url, callback) * @param url: 即将读取的文件夹路径 * @param callback: 回调函数 */ const fs = require('fs'); const path = require('path'); const arg 阅读全文
posted @ 2022-10-19 10:55 小魏code 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 前端缓存 文章参考 : https://juejin.cn/post/7127194919235485733 解决方案: 前端 要在打包的时候配置好脚手架配置文件 ,打包出来的文件名要 跟上一次打包出来的文件名 不一样才行 。 比如,有一个css文件a1 第一次打包a1.css文件追加哈希值变成了 阅读全文
posted @ 2022-09-20 11:26 小魏code 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 参考链接: https://commitlint.js.org/#/ https://www.cnblogs.com/ly0612/p/15545803.html https://blog.csdn.net/snowball_li/article/details/121850069 https:// 阅读全文
posted @ 2022-05-13 14:14 小魏code 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 在路由文件中加上以下代码 // const originalReplace = VueRouter.prototype.replace; // VueRouter.prototype.replace = function push(location) { // return originalRepl 阅读全文
posted @ 2022-05-09 14:59 小魏code 阅读(480) 评论(1) 推荐(0) 编辑
摘要: 1. 如图效果 源码参考 https://github.com/wzq45110/wx-components 阅读全文
posted @ 2021-12-13 18:03 小魏code 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 参考地址: https://github.com/jasondu/wxa-plugin-canvas https://juejin.im/post/5b7e48566fb9a01a1059543f 阅读全文
posted @ 2021-10-26 16:24 小魏code 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 参考: https://blog.csdn.net/qq_34206361/article/details/53690414 阅读全文
posted @ 2021-07-20 15:07 小魏code 阅读(511) 评论(0) 推荐(0) 编辑
摘要: 参考文档: https://developers.weixin.qq.com/miniprogram/dev/component/canvas.html 参考: https://juejin.cn/post/6983574104167170061 参考: https://developers.wei 阅读全文
posted @ 2021-07-14 17:28 小魏code 阅读(195) 评论(0) 推荐(0) 编辑