2024年3月20日

摘要: 一、md5 npm install md5 二、JSEncrypt 2.1 介绍 JSEncrypt属于RSA加密,RSA加密算法是一种非对称加密算法; 2.2 使用 安装: npm install jsencrypt --dev 封装工具: utils/jsencrypt.js import JS 阅读全文
posted @ 2024-03-20 18:08 走到热爱里 阅读(912) 评论(0) 推荐(0)

2023年5月8日

摘要: 工具函数: export default { methods: { getDay(day) { var today = new Date(); var targetday_milliseconds = today.getTime() + 1000 * 60 * 60 * 24 * day; toda 阅读全文
posted @ 2023-05-08 22:56 走到热爱里 阅读(20) 评论(0) 推荐(0)
 
摘要: // 1.先变二维数组 // let baseArray = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]; let len = results.length//baseArray.length; let n = 2; //假设每行显示3个 let line 阅读全文
posted @ 2023-05-08 22:34 走到热爱里 阅读(20) 评论(0) 推荐(0)

2023年5月5日

摘要: 吾日三省吾身|本周小知识点 积土成山,风雨兴焉;积水成渊,蛟龙生焉;积善成德,而神明自得,圣心备焉。故不积跬步,无以至千里;不积小流,无以成江海。 Response Headers的Content-Type值为image/jpeg,如何展示在前端页面 const blob = new Blob([r 阅读全文
posted @ 2023-05-05 07:54 走到热爱里 阅读(32) 评论(0) 推荐(0)

2023年4月21日

摘要: Module build failed: TypeError: this.getResolve is not a function at Object.loader的解决 npm uninstall sass-loader(卸载当前版本) npm install sass-loader@7.3.1 阅读全文
posted @ 2023-04-21 17:34 走到热爱里 阅读(38) 评论(0) 推荐(0)

2023年3月3日

摘要: VSCode官方的配置同步方案 - 兰生 - 博客园 阅读全文
posted @ 2023-03-03 18:39 走到热爱里 阅读(17) 评论(0) 推荐(0)

2023年2月3日

摘要: 错误情景 提示 jest 配置错误 Configuration error Configuration error: Could not locate module @/components/HelloWorld.vue mapped as: XXX\jest-vue\src\components/ 阅读全文
posted @ 2023-02-03 13:41 走到热爱里 阅读(93) 评论(0) 推荐(0)

2023年2月2日

摘要: 前言 今天学习 jest 的 vue-test-utils 的配置及使用。 报错原因为 jest 全局变量 git 提交代码报错,使用除了参考链接里的解决方案,正好复习一下之前学习的 Git Hooks: 错误 git 日志 git-error-1675323308267 ... ✖ vue-cli 阅读全文
posted @ 2023-02-02 15:47 走到热爱里 阅读(132) 评论(0) 推荐(0)

2023年1月23日

摘要: vscode-jest [error] Abort jest session: Not able to auto detect a valid jest command: multiple candidates found Perhaps this is a multi-root monorepo? 阅读全文
posted @ 2023-01-23 16:30 走到热爱里 阅读(698) 评论(0) 推荐(0)

2023年1月16日

摘要: git 删除远端分支 git branch -r -d origin/远端分支名称 git 克隆远端 http连接:git clone with http 报错: git clone http://000.000.000.000:port/pathname/xxxx.git Cloning into 阅读全文
posted @ 2023-01-16 14:00 走到热爱里 阅读(298) 评论(0) 推荐(0)