摘要: npm run serve启动vue项目时发现node出现内存泄露 报错如下: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of... 解决办法如下: 在 阅读全文
posted @ 2024-04-08 16:27 MELANCHOLYS 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 官方下载地址 [https://notepad-plus.en.softonic.com/](https://notepad-plus.en.softonic.com/) 新建后缀reg文件,然后编辑修改。 注意:C:\\Program Files\\Notepad++\\notepad++.exe 阅读全文
posted @ 2023-06-20 16:47 MELANCHOLYS 阅读(561) 评论(0) 推荐(0) 编辑
摘要: Windows环境FFmpeg下载、环境变量配置 [FFmpeg官网下载地址](https://ffmpeg.org/) 第一步:点击Download下载按钮 ![](https://img2023.cnblogs.com/blog/1801401/202306/1801401-20230606110845735-351503246.png) 第二 阅读全文
posted @ 2023-06-06 11:24 MELANCHOLYS 阅读(1129) 评论(0) 推荐(0) 编辑
摘要: 参考地址:https://juejin.cn/post/7155353325758578696 NVM下载: nvm ***-setup.zip 安装版(免配置、推荐使用)。 nvm ***-noinstall.zip 免安装版(使用时需要配置) NVM: 下载地址一(国内地址):https://n 阅读全文
posted @ 2023-05-16 17:20 MELANCHOLYS 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 首先html页面中head内引入所需的js文件 jquery.min.js waypoints.min.js countup.min.js 3.使用<span>元素作为数字的容器。 1 <span class="counter">1,498,547.00</span> 2 <span class=" 阅读全文
posted @ 2022-08-23 18:10 MELANCHOLYS 阅读(650) 评论(0) 推荐(0) 编辑
摘要: import moment from 'moment'; const randomDate = () => { // 随机生成0-11的数字 const randomMonthNum = Math.floor(Math.random() * 11); // 随机生成1-30数字 const rand 阅读全文
posted @ 2022-08-22 10:26 MELANCHOLYS 阅读(654) 评论(0) 推荐(0) 编辑
摘要: 将methods里面定义的方法, 需要赋值给window,外部js就可以调用了 export default { name: "HelloWorld", props: { msg: String, }, mounted() { // 将vue中的方法赋值给window window.handleCl 阅读全文
posted @ 2022-08-03 16:59 MELANCHOLYS 阅读(725) 评论(0) 推荐(0) 编辑
摘要: 查看ssh密钥:cat ~/.ssh/id_rsa.pub 查看当前分支:git branch 打印所有标签:git tag 打印符合检索条件的标签:git tag -l 1.*.* 查看对应标签状态:git checkout 1.0.0 创建标签(本地) 创建轻量标签:git tag 1.1.5. 阅读全文
posted @ 2022-07-12 11:37 MELANCHOLYS 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 1.在index.html文件head标签内设置(图片要放在static静态资源文件夹内,防止打包之后文件图片找不到) <link rel="shortcut icon" href="./static/images/logo.png" type="image/x-icon" /> 2.在build/ 阅读全文
posted @ 2022-06-28 21:47 MELANCHOLYS 阅读(1067) 评论(0) 推荐(0) 编辑
摘要: //利用new Object方式创建对象 var obj = new Object(); // 属性名与属性值书法方式与字面量有区别. 对象名.属性名 = 属性值,每个属性用分号;结尾 //之前的是 name:'张三李四', obj.name = '张三李四'; obj.age = 20; obj. 阅读全文
posted @ 2022-05-24 14:51 MELANCHOLYS 阅读(165) 评论(0) 推荐(0) 编辑