01 2023 档案
摘要:props import ElementUI from 'element-ui' Element.Input.props.clearable.default = true; 原生属性 通常情况下,以maxlength属性为例 import ElementUI from 'element-ui' co
阅读全文
摘要:docx的实现需要使用docx-preview插件 安装 npm i docx-preview 使用 html <div ref="file"></div> import { renderAsync } from "docx-preview"; const docxOptions = { class
阅读全文
摘要:::-webkit-scrollbar { display: none; width: 0 !important; height: 0 !important; -webkit-appearance: none; background: transparent; }
阅读全文
摘要:在本地的时候,浏览器自动截取了第一帧作为视频的poster封面,但是到移动端,就展示空白 使用poster,值为视频地址添加后缀 '?x-oss-process=video/snapshot,t_1,m_fast' <video :src="videoUrl" :poster="videoUrl +
阅读全文