1 2 3 4

随笔分类 -  第三方插件

摘要:使用lodash的pickBy: let fieldsValue = { name:'', age:18} let values = pickBy({ ...fieldsValue, }) 阅读全文
posted @ 2020-10-29 16:53 红鲤鱼与LV 阅读(624) 评论(0) 推荐(0)
摘要:产品设计学习 值得关注的产品、设计学习网址:https://design.alipay.com/http://antv.alipay.com/index.html http://idesign.qq.com http://www.thefwa.com/https://www.awwwards.com 阅读全文
posted @ 2020-09-04 10:48 红鲤鱼与LV
摘要:1.https://www.tiny.cloud/docs/demo/full-featured/还不错 2.http://typecho.org/很好用 http://www.keydatas.com/caiji/typecho-cms-caiji?bd_vid=80867131374377483 阅读全文
posted @ 2020-08-13 14:10 红鲤鱼与LV 阅读(269) 评论(0) 推荐(0)
摘要:cropperjs图片裁剪工具、NProgress进度条 阅读全文
posted @ 2020-08-13 11:40 红鲤鱼与LV 阅读(145) 评论(0) 推荐(0)
摘要:1.get方法(获取对象、数组值) 普通写法: log[0].value.name 使用lodash: get(log[0], 'value.name') 优点:当log[0]为null时,普通方法会报错,lodash方法会返回空,lodash更安全 get(log[0], 'value.name' 阅读全文
posted @ 2020-08-05 16:57 红鲤鱼与LV 阅读(784) 评论(0) 推荐(0)
摘要:moment(data).unix() 阅读全文
posted @ 2020-08-04 11:34 红鲤鱼与LV 阅读(9651) 评论(0) 推荐(0)
摘要:推荐一个代码审核工具 stylelint 1.官网:https://stylelint.io/ 阅读全文
posted @ 2020-05-06 17:18 红鲤鱼与LV 阅读(206) 评论(0) 推荐(0)
摘要:<a href=`dingtalk://dingtalkclient/action/sendmsg?spm=a1z2e.8089787.content.dingtalk.7c364f9bXj6c9i&dingtalk_id=`+钉钉id target="_blank"> 问题反馈 </a> 钉钉id 阅读全文
posted @ 2020-04-28 16:31 红鲤鱼与LV 阅读(2025) 评论(1) 推荐(0)
摘要:文档网址:https://ding-doc.dingtalk.com/doc#/serverapi2/gh60vz 阅读全文
posted @ 2020-04-28 16:29 红鲤鱼与LV 阅读(381) 评论(0) 推荐(0)
摘要:1.上传图片的功能点 基础功能:上传图片、生成图片连接 附加功能:限制上传图片的大小与类型、生成高中低三种分辨率的图片链接、生成CDN。 2.技术方案 阿里云OSS等服务器(花钱) 直接上传服务器(不稳定,可以学习时使用) 3.之前获取body我们使用的是koa-bodyparser,但这个不能获取 阅读全文
posted @ 2020-01-03 18:47 红鲤鱼与LV 阅读(4439) 评论(0) 推荐(0)
摘要:1.koa-bodyparser koa不能直接获取请求体里的body,需要安装一个中间件(koa-bodyparser) 详细内容见我的另一篇博客:https://www.cnblogs.com/kaiqinzhang/p/12091500.html 2.错误处理并返回json格式插件: koa- 阅读全文
posted @ 2019-12-31 12:15 红鲤鱼与LV 阅读(817) 评论(0) 推荐(0)
摘要:1.中文官网: https://eslint.cn/ 2.先看一个写好的eslint规则: 3.下面再给一个例子 module.exports = { "parser": "babel-eslint", 'env': { 'browser': true, 'es6': true }, 'extend 阅读全文
posted @ 2019-12-19 11:59 红鲤鱼与LV 阅读(2276) 评论(0) 推荐(0)
摘要:https://fusion.alibaba-inc.com/ 阅读全文
posted @ 2019-12-17 11:28 红鲤鱼与LV 阅读(112) 评论(0) 推荐(0)
摘要:官网: https://www.tailwindcss.cn/ 阅读全文
posted @ 2019-12-09 18:37 红鲤鱼与LV 阅读(126) 评论(0) 推荐(0)
摘要:tu 阅读全文
posted @ 2019-11-29 11:33 红鲤鱼与LV 阅读(154) 评论(0) 推荐(0)
摘要:1.文件-》首选项-》设置 阅读全文
posted @ 2019-11-27 23:26 红鲤鱼与LV 阅读(110) 评论(0) 推荐(0)
摘要:1.使终端输出红色字体: const chalk = require('chalk'); console.log(chalk.red('this is red!') 这时运行终端,打印的this is red!就是红色的。 使用这个插件还可以使终端打印的字加下划线等等。 阅读全文
posted @ 2019-11-26 17:57 红鲤鱼与LV 阅读(545) 评论(0) 推荐(0)
摘要:1.复制: 2.粘贴到终端,回车。就运行啦 3.额外附赠小知识: 到终端粘贴,后面加上 -o,就可以保存啦。有些不能下载的音频视频可以这样保存。 4.下面是别人写的,我看着挺好的: https://blog.csdn.net/fdipzone/article/details/78828617 阅读全文
posted @ 2019-11-26 14:42 红鲤鱼与LV 阅读(201) 评论(0) 推荐(0)
摘要:npm地址:https://www.npmjs.com/package/numeral 1.转化成百分比: numeral(num).format('0.00%') 阅读全文
posted @ 2019-11-26 14:10 红鲤鱼与LV 阅读(993) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/oscar999/article/details/16342699 productsCSV(e) { const { download } = this.state; // 表头 const thead = '时间,Key,服务接口,调用量\n'; // 阅读全文
posted @ 2019-11-22 12:07 红鲤鱼与LV 阅读(486) 评论(0) 推荐(0)