摘要: touchstart touchmove touchend 阅读全文
posted @ 2021-07-30 10:11 握梅又闻花 阅读(36) 评论(0) 推荐(0)
摘要: window.onresize = () => { return (() => { //键盘弹起与隐藏都会引起窗口的高度发生变化 const resizeHeight = document.documentElement.clientHeight || document.body.clientHei 阅读全文
posted @ 2021-07-30 10:10 握梅又闻花 阅读(105) 评论(0) 推荐(0)
摘要: 1、为了尽可能的提高css、js加载速度,我们可以将文件压缩 2、.js是JavaScript 源码文件, .min.js是压缩版的js文件。vue.js 开发环境版本,包含了有帮助的命令行警告。vue.min.js 生产环境版本,优化了尺寸和速度。jquery.js是完整的未压缩的jquery库, 阅读全文
posted @ 2021-07-01 13:46 握梅又闻花 阅读(1407) 评论(0) 推荐(0)
摘要: 开发一个连接WiFi的功能,看到一篇文章 https://blog.csdn.net/idler8/article/details/117459321 阅读全文
posted @ 2021-06-02 10:52 握梅又闻花 阅读(2509) 评论(0) 推荐(0)
摘要: 例一:linux下备份自身系统1.备份 用root权限,运行完整的备份命令: $ sudo su # tar -cvpzf /media/disk/backup.tgz / --exclude=/proc --exclude=/lost+found --exclude=/tmp --exclude= 阅读全文
posted @ 2021-04-02 14:46 握梅又闻花 阅读(1250) 评论(0) 推荐(0)
摘要: 1查看浏览器内核位置 <html> <script type="text/javascript"> window.open('chrome://version') </script> </html> --resources-dir-path= 就是内核的位置复制后面的路径,打开。比如我的就是(C:\ 阅读全文
posted @ 2021-03-25 15:52 握梅又闻花 阅读(237) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>Page Title</title> <meta name="vie 阅读全文
posted @ 2021-03-11 10:53 握梅又闻花 阅读(239) 评论(0) 推荐(0)
摘要: 1、vue2.0配置文件config/index.js添加proxyTable 2、接口地址加上前缀 阅读全文
posted @ 2021-03-05 14:15 握梅又闻花 阅读(365) 评论(0) 推荐(0)
摘要: 如图,根据自己项目预计在服务器的位置,如服务器根目录下ds/holiday下,则修改assetsPublicPath的值为/ds/holiday/打包名称,默认打包为dist,也可根据项目名称修改为holiday,goods等! 好啦!就是这么简单快来试一试吧! 阅读全文
posted @ 2021-03-05 13:48 握梅又闻花 阅读(267) 评论(0) 推荐(0)
摘要: 开心 阅读全文
posted @ 2021-03-05 13:37 握梅又闻花 阅读(17) 评论(0) 推荐(0)