上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页
摘要: 原文链接https://baijiahao.baidu.com/s?id=1700328557526256583&wfr=spider&for=pc push和replace这两个都方法都是vue-router提供的api。 在vue项目中使用this.$router.push()方法来跳转不同路径 阅读全文
posted @ 2021-07-26 15:21 枫若 阅读(338) 评论(0) 推荐(0)
摘要: #user root; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; even 阅读全文
posted @ 2021-07-26 13:23 枫若 阅读(105) 评论(0) 推荐(0)
摘要: Linux下nginx的安装以及环境配置 https://www.cnblogs.com/xxoome/p/5866475.html https://blog.csdn.net/qq_42815754/article/details/82980326 nginx 编译 make的时候报错 https 阅读全文
posted @ 2021-07-20 17:10 枫若 阅读(673) 评论(0) 推荐(0)
摘要: flutter 环境安装以及配置 https://www.cnblogs.com/leechenxiang/p/9878442.html Android Studio的安装 https://blog.csdn.net/qq_41976613/article/details/91432304 阅读全文
posted @ 2021-07-20 14:07 枫若 阅读(26) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/5cec4c00aa3e 阅读全文
posted @ 2021-07-09 14:54 枫若 阅读(20) 评论(0) 推荐(0)
摘要: 1.在gitee上新建仓库(选择。readme文件),复制仓库地址(ssH) 2.在本地新建一个文件夹进入文件夹右键选择git bash here 3.在git命令窗口输入git init(生成.git文件夹,如果没有看到可能是隐藏了),git init 的功能为初始化一个文件夹为本地仓库 4.链接 阅读全文
posted @ 2021-04-21 09:50 枫若 阅读(272) 评论(0) 推荐(0)
摘要: 更新nuxt项目 1.本地项目执行命令npm run build 3.将文件:static .nuxt nuxt.config.js package.js文件放入linux中, 4.命令窗口进入项目路径,执行命令 pm2 ls查看pm2管理的项目, 5.关闭npm 命令pm2 stop id 6.启 阅读全文
posted @ 2021-04-20 18:28 枫若 阅读(2437) 评论(0) 推荐(0)
摘要: 前言:图片是网站优化的一个重点,图片懒加载是其中比较好用的一个方法。jquery也有很多图片懒加载的插件,今天看了一下vue的图片懒加载插件 vue-lazyload。 1. 安装:cnpm install vue-lazyload --save-dev(当然可以用npm或者yarn哦) impor 阅读全文
posted @ 2021-04-19 10:19 枫若 阅读(1673) 评论(0) 推荐(0)
摘要: 1.input 标签之 file 类型 2.FileReader 对象:读取文件 3.FileReader.readAsDataURL():将读取的文件转换为 base64 编码的字符串 4.FormData 对象 5.使用 axios 上传 input 标签之 file 类型 当设置 input 阅读全文
posted @ 2021-04-08 11:56 枫若 阅读(113) 评论(0) 推荐(0)
摘要: 在实际开发中,我们有时需要知道对象的所有属性,原生js给我们提供了一个很好的方法:Object.keys(),该方法返回一个数组 传入对象,返回属性名 var obj = {'a':'123','b':'345'}; console.log(Object.keys(obj)); //['a','b' 阅读全文
posted @ 2021-04-01 11:23 枫若 阅读(480) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 12 下一页