11 2022 档案

摘要:##常规用法(获取单个元素) <template> <div class="search-input"> <input type="text" ref="searchInputElem" v-model="searchValue" @keyup.enter="onSearch" placeholde 阅读全文
posted @ 2022-11-28 10:44 huihuihero 阅读(1005) 评论(0) 推荐(0) 编辑
摘要:###本文转载自 https://www.ucloud.cn/yun/104458.html 摘要:命令用于规定模块的对外接口,命令用于输入其他模块提供的功能。前者用于服务器,后者用于浏览器。命令接受一对大括号,里面指定要从其他模块导入的变量名。基本用法其他和主要区别为前者是动态加载。 在日常开发中 阅读全文
posted @ 2022-11-24 10:16 huihuihero 阅读(2756) 评论(0) 推荐(0) 编辑
摘要:###参考以前写过的一篇文章 https://www.cnblogs.com/huihuihero/p/11451696.html ###安装lib-flexible ``` yarn add lib-flexible 或者 npm install lib-flexible ``` ###main. 阅读全文
posted @ 2022-11-23 16:05 huihuihero 阅读(1247) 评论(0) 推荐(0) 编辑
摘要:###详见: https://blog.csdn.net/CDSN_Dark/article/details/120582246 阅读全文
posted @ 2022-11-22 13:22 huihuihero 阅读(31) 评论(0) 推荐(0) 编辑
摘要:##下载及安装pdf.js插件 ###【下载】前往官方地址下载插件包 http://mozilla.github.io/pdf.js/ 注:不建议使用npm或yarn的形式安装pdf.js的依赖包,因为我们很多定制化的需求需要改源码 ###【安装】在public文件夹下新建pdfjs文件夹,将解压后 阅读全文
posted @ 2022-11-15 16:31 huihuihero 阅读(7458) 评论(0) 推荐(0) 编辑
摘要:##直接贴代码 ###封装一个方法 /** * @param { * } file input选择后返回的file对象 */ export const compressImage = (file) => { // 参数file,是通过input 选择本地文件获取的 return new Promis 阅读全文
posted @ 2022-11-09 14:16 huihuihero 阅读(106) 评论(0) 推荐(0) 编辑
摘要:卸载Node 1、搜索控制面板,进入并卸载 2、卸载完成,window+r --> cmd -->输入 node -v 检查是否真的卸载完成了 安装nvm 1、下载安装包 在这个地址下载 https://github.com/coreybutler/nvm-windows/releases 2、进行 阅读全文
posted @ 2022-11-07 14:39 huihuihero 阅读(1037) 评论(0) 推荐(0) 编辑

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