08 2023 档案

摘要:使用的vue-cropper.js,官方文档 https://github.com/xyxiao001/vue-cropper 附图片各格式之间的转换 https://www.cnblogs.com/huihuihero/p/17667325.html 注意:下载vue-cropper.js时,使用 阅读全文
posted @ 2023-08-30 15:21 huihuihero 阅读(1364) 评论(0) 推荐(0) 编辑
摘要:##贴代码imgformat-deal.js ``` /** * 图片file格式转为base64 * fileToBase64(file).then((res) => {console.log(res.data)}) */ export function fileToBase64(file) { 阅读全文
posted @ 2023-08-30 15:07 huihuihero 阅读(110) 评论(0) 推荐(0) 编辑
摘要:##直接贴代码 ``` /** * 截取视频画面 * @param {*} url 视频播放链接 * @param {*} width 画面的截取宽度 * @param {*} height 图片的截取高度 */ export function cutVideoCover(url, width = 阅读全文
posted @ 2023-08-09 13:15 huihuihero 阅读(410) 评论(0) 推荐(0) 编辑
摘要:##1、在项目根目录中加入此文件 https://files.cnblogs.com/files/huihuihero/.prettierrc.js ![](https://img2023.cnblogs.com/blog/1669868/202308/1669868-202308071907030 阅读全文
posted @ 2023-08-07 19:15 huihuihero 阅读(204) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示