上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 28 下一页
摘要: ###详见: https://blog.csdn.net/CDSN_Dark/article/details/120582246 阅读全文
posted @ 2022-11-22 13:22 huihuihero 阅读(28) 评论(0) 推荐(0) 编辑
摘要: ##下载及安装pdf.js插件 ###【下载】前往官方地址下载插件包 http://mozilla.github.io/pdf.js/ 注:不建议使用npm或yarn的形式安装pdf.js的依赖包,因为我们很多定制化的需求需要改源码 ###【安装】在public文件夹下新建pdfjs文件夹,将解压后 阅读全文
posted @ 2022-11-15 16:31 huihuihero 阅读(6069) 评论(0) 推荐(0) 编辑
摘要: ##直接贴代码 ###封装一个方法 /** * @param { * } file input选择后返回的file对象 */ export const compressImage = (file) => { // 参数file,是通过input 选择本地文件获取的 return new Promis 阅读全文
posted @ 2022-11-09 14:16 huihuihero 阅读(94) 评论(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 阅读(905) 评论(0) 推荐(0) 编辑
摘要: ####友情链接:uniapp中使用websocket实现实时聊天功能 https://www.cnblogs.com/huihuihero/p/13491922.html ##直接贴代码 <div class="chat-content"> <div class="comment-list" id 阅读全文
posted @ 2022-10-12 16:07 huihuihero 阅读(148) 评论(0) 推荐(0) 编辑
摘要: ##vuex目录 ##文件内容 ###【store/index.js】 import { createStore } from "vuex"; import modules from "./modules"; const setupStore = (app) => { let storeOption 阅读全文
posted @ 2022-09-26 10:59 huihuihero 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 文档,从vue2.x迁移 https://router.vuejs.org/zh/guide/migration/index.html 路由目录 各文件内容 【router/index】 import { createRouter, createWebHashHistory, createWebHi 阅读全文
posted @ 2022-09-23 17:09 huihuihero 阅读(1185) 评论(0) 推荐(0) 编辑
摘要: ###注意:使用此方式会使页面比例缩放,所以会导致一些依附于页面比例的功能失效,并且产生一些奇怪的Bug。请勿轻易使用 ##示例图 ##示例代码 //zoom样式设置可以放在任何元素上,不是必须放在app根元素上 <div id="app" :style="`zoom:${scaleRadio}`" 阅读全文
posted @ 2022-09-22 14:11 huihuihero 阅读(2228) 评论(0) 推荐(0) 编辑
摘要: 安装依赖 yarn add vue-i18n@next yarn add vue-i18n@9.2.2 # or npm install vue-i18n@next 目录配置 注 语言翻译文档文件可以放在大多数位置,此处放在language文件夹下。 当然也可以在对应模块的文件夹下新建一个文件夹如l 阅读全文
posted @ 2022-09-21 22:44 huihuihero 阅读(2499) 评论(0) 推荐(0) 编辑
摘要: ##总结 JS构造函数-实例对象-原型对象之间的关系 构造函数可以实例化对象;(通过构造函数,实例化,创建的就是实例对象。) 构造函数中有一个属性叫prototype,是构造函数的原型对象; 实例对象的原型对象(__proto__)指向的是该构造函数的原型对象(prototype);(实例对象通过_ 阅读全文
posted @ 2022-09-18 18:36 huihuihero 阅读(62) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 28 下一页