07 2023 档案

摘要:流操作API中的ReadableStream 接口呈现了一个可读取的二进制流操作。Fetch API通过Response 的属性body 提供了一个具体的 ReadableStream 对象。 axios只支持返回以下类型 "", "arraybuffer", "blob", "document", 阅读全文
posted @ 2023-07-27 10:18 郭大蛋子 阅读(837) 评论(0) 推荐(0) 编辑
摘要:Cannot find module '@/views/index/index.vue' or its corresponding type declarations.ts(2307) View Problem (Alt+F8) No quick fixes available 解决方法 在vite 阅读全文
posted @ 2023-07-25 14:37 郭大蛋子 阅读(709) 评论(0) 推荐(0) 编辑
摘要:import html2Canvas from 'html2canvas'import jsPDF from 'jspdf' const htmlToPdf = { getPdf(title,idName, cb = () => {}) { html2Canvas(document.querySel 阅读全文
posted @ 2023-07-14 17:17 郭大蛋子 阅读(88) 评论(0) 推荐(0) 编辑
摘要:1.在钉钉直接打开本地跑的项目白屏并且报错 Uncaught ReferenceError: globalThis is not defined/@vite/client:135:7 ReferenceError: globalThis is not definedat http://192.168 阅读全文
posted @ 2023-07-13 14:49 郭大蛋子 阅读(3373) 评论(0) 推荐(0) 编辑
摘要:首先要在html里面加这个viewport-fit=cover,不加无效 <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover"> css padding-bottom: co 阅读全文
posted @ 2023-07-11 17:02 郭大蛋子 阅读(294) 评论(0) 推荐(0) 编辑
摘要:base64转blob var arr = base64url.split(','), mime = arr[0].match(/:(.*?);/)[1], bstr = atob(arr[1]), n = bstr.length, u8arr = new Uint8Array(n); while( 阅读全文
posted @ 2023-07-11 10:16 郭大蛋子 阅读(301) 评论(1) 推荐(0) 编辑

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