随笔 - 50  文章 - 0  评论 - 1  阅读 - 86920
07 2021 档案
接口上传base64字符串出现空格的解决办法
摘要:let reader = new FileReader(); reader.readAsDataURL(file);//file是选择的本地文件图片 reader.onload = () => { const content = encodeURIComponent(reader.result);/ 阅读全文
posted @ 2021-07-27 09:44 写最骚的代码 阅读(467) 评论(0) 推荐(0) 编辑
vue keeplive的缓存页面如何销毁重新渲染
摘要://通过组件key属性实现重新渲染 <template> <NoticeCollectionKey :key="componentKey"/></template> <script> //原来的页面定义为一个组件import进来 import NoticeCollectionKey from "./ 阅读全文
posted @ 2021-07-02 15:35 写最骚的代码 阅读(996) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

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