上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: 当我们更改了我们的一个entry入口起点的名称,甚至添加了一个新的入口,会发生什么? 会在构建时重新命名生成的 bundle,但是我们的 index.html 文件仍然引用旧的名称。 此时就可以用 HtmlWebpackPlugin 来解决这个问题。 在我们构建之前,虽然在 dist/ 文件夹我们已 阅读全文
posted @ 2023-10-11 09:44 你风致 阅读(68) 评论(0) 推荐(0) 编辑
摘要: flex布局,按行排列,让justify-content:center;的最后一行布局从最左边开始,而不是最后一行也居中 父元素:after{ content:''; flex:1 } 阅读全文
posted @ 2023-09-05 15:52 你风致 阅读(98) 评论(0) 推荐(0) 编辑
摘要: //调接口后端返回文件流 fetch(`downloadTemplate`, { method: 'POST', mode: 'cors', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify(body), c 阅读全文
posted @ 2023-08-08 11:14 你风致 阅读(45) 评论(0) 推荐(0) 编辑
摘要: 对于现代浏览器,例如webkit内核的浏览器,或者移动端,是可以实现多行文本内容超出点点点…最后一行显示的,典型的CSS组合如下: .box {display: -webkit-box;-webkit-line-clamp: 3;-webkit-box-orient: vertical;}其中-we 阅读全文
posted @ 2023-07-10 18:30 你风致 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 运用docx-preview.js(去网上下载https://github.com/VolodymyrBaydalka/docxjs/blob/master/dist/docx-preview.js) 引入脚本 <script type="text/javascript" src="https:// 阅读全文
posted @ 2023-06-02 11:01 你风致 阅读(1024) 评论(1) 推荐(0) 编辑
摘要: HTTP 是一种能够获取如 HTML 这样的网络资源的 protocol(通讯协议)。http是可扩展的,是无状态的,单向传输。 一.Http发展 1.HTTP/0.9——单行协议请求由单行指令构成,以唯一可用方法 GET 开头,其后跟目标资源的路径。 2.HTTP/1.0——构建可扩展性协议版本信 阅读全文
posted @ 2023-05-04 10:06 你风致 阅读(172) 评论(0) 推荐(0) 编辑
摘要: import { defineComponent, h } from 'vue'; import AMapLoader from '@amap/amap-jsapi-loader'; import { Input, AutoComplete, Modal, message } from 'ant-d 阅读全文
posted @ 2023-04-10 14:02 你风致 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 主要是在定义table的插槽的时候,添加bodyCell和headerCellrender() { const columns = [ { title: '序号', key: 'sort', dataIndex: 'sort', render: (_, record, idx) => idx + 1 阅读全文
posted @ 2023-03-07 10:34 你风致 阅读(755) 评论(0) 推荐(0) 编辑
摘要: //需要行合并col的就这样写,核心思想:表格支持行合并,使用 render 里的单元格属性 rowSpan 设值为 0 时,设置的表格不会渲染。 columns: Array<IJSONData> = [ { title: '节点名称', dataIndex: 'nodeName', key: ' 阅读全文
posted @ 2023-02-06 09:21 你风致 阅读(264) 评论(0) 推荐(0) 编辑
摘要: //树组件 <antTree checkable onCheck={this.onCheck} checkedKeys={this.checkedKeys} //onSelect={this.onSelect} //selectedKeys={this.selectedKeys} loadData= 阅读全文
posted @ 2023-01-04 10:20 你风致 阅读(1319) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页