上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 26 下一页
摘要: https://blog.csdn.net/yellowStar718/article/details/91383925 https://www.cnblogs.com/undefined000/p/vue-nativeApp-development.html 混合开发,页面需要按移动端方式开发,移 阅读全文
posted @ 2020-07-23 15:10 zhanglw 阅读(463) 评论(0) 推荐(0)
摘要: /** * 日期格式化 * @param {string} fmt yyyy-MM-dd hh:mm:ss * @param {Date} date * @returns {string} */ function dateFormat(fmt,date){ if(!date){ date = new 阅读全文
posted @ 2020-07-20 09:39 zhanglw 阅读(333) 评论(0) 推荐(0)
摘要: https://zhuanlan.zhihu.com/p/152097785 https://webpack.js.org/plugins/split-chunks-plugin/#optimizationsplitchunks 阅读全文
posted @ 2020-07-17 16:42 zhanglw 阅读(1036) 评论(0) 推荐(0)
摘要: ###语法 符号 用法 @param @param {类型} 参数名 描述 @return @return {类型} 返回描述 @author @author 作者 @version @version 版本号 @description @description 描述 /** *@method 方法名 阅读全文
posted @ 2020-07-12 15:19 zhanglw 阅读(1353) 评论(0) 推荐(0)
摘要: 1、npm 安装 npm -v 查看npm 版本,也可看是否安装成功 npm install npm -g 通过 npm 命令来升级 npm npm install -g cnpm --registry=https://registry.npmmirror.com 使用镜像 npm 可以用 cnpm 阅读全文
posted @ 2020-07-11 19:02 zhanglw 阅读(6184) 评论(0) 推荐(0)
摘要: ###1 import CryptoJS from 'crypto-js' export const encrypt = (word) => { var key = CryptoJS.enc.Utf8.parse("46cc793c53dc451b"); var srcs = CryptoJS.en 阅读全文
posted @ 2020-07-10 19:38 zhanglw 阅读(855) 评论(0) 推荐(0)
摘要: log.sh 文件 #!/bin/bash pid_path=/usr/local/nginx/logs/nginx.pid basePath=/ext3/www/logs/ logPathDir=${basePath}$(date +"%Y%m") mkdir -p ${logPathDir} m 阅读全文
posted @ 2020-07-10 17:43 zhanglw 阅读(118) 评论(0) 推荐(0)
摘要: ###常用命令 crontab -u //设定某个用户的cron服务 crontab -l //列出某个用户cron服务的详细内容 crontab -r //删除某个用户的cron服务 crontab -e //编辑某个用户的cron服务 crontab -i //打印提示,输入yes等确认信息 / 阅读全文
posted @ 2020-07-10 17:26 zhanglw 阅读(253) 评论(0) 推荐(0)
摘要: location /resources/ { # 文件下载 add_header Content-Type "application/octet-stream"; # 避免浏览器打开文件 alias /resources/; } 阅读全文
posted @ 2020-07-10 16:32 zhanglw 阅读(1636) 评论(0) 推荐(0)
摘要: location /api { proxy_pass xxxx.xxx.com/xxxx # 接口的url; proxy_redirect off; # 后端的Web服务器可以通过X-Forwarded-For获取用户真实IP proxy_set_header Host $host; proxy_s 阅读全文
posted @ 2020-07-08 16:03 zhanglw 阅读(9971) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 26 下一页