上一页 1 2 3 4 5 6 7 8 9 ··· 23 下一页
摘要: 1、el-table添加span-method <el-table :data="table_data" id="out-table" :span-method="objectSpanMethod" style="width: 100%"> ... </el-table> 2、合并的方法 // 合并 阅读全文
posted @ 2023-01-10 20:34 yw3692582 阅读(917) 评论(0) 推荐(0)
摘要: legend: { type: 'scroll', pageIconColor: 'white', //激活的分页按钮颜色 pageIconInactiveColor: 'white', //没激活的分页按钮颜色 pageTextStyle: { color: 'white', }, textSty 阅读全文
posted @ 2023-01-06 18:19 yw3692582 阅读(64) 评论(0) 推荐(0)
摘要: 1、安装:npm install html2canvas jspdf --save 2、创建:html2canvas.js 文件,内容如下: import html2Canvas from 'html2canvas' import JsPDF from 'jspdf' /** * @param {S 阅读全文
posted @ 2022-12-01 19:37 yw3692582 阅读(418) 评论(0) 推荐(0)
摘要: 公共: @blur="send_data.num = $event.target.value ? Number($event.target.value) : null" 不能输入小数点:oninput="value=value.replace(/[^\d]/g,'')" 可输入小数点:oninput 阅读全文
posted @ 2022-11-17 18:30 yw3692582 阅读(41) 评论(0) 推荐(0)
摘要: 前提:getTableMaxHeight.js /** * @param {Number} difference_height 需要减去的值 * @return {Number} table的最大高度值 */ function getTableMaxHeight(difference_height) 阅读全文
posted @ 2022-11-07 13:50 yw3692582 阅读(963) 评论(0) 推荐(0)
摘要: <template> <div class="x-handle" @mousedown="mouseDown"></div> </template> <script> export default { name: 'HandleEvent', data() { return { lastX: '', 阅读全文
posted @ 2022-11-02 11:24 yw3692582 阅读(75) 评论(0) 推荐(0)
摘要: layer.open({ type: 1, anim: 5, shade: 0, title: `标题`, resize: true, // 是否支持拉伸 maxmin: true, // 最大化最小化 scrollbar: false, area: ['850px', '550px'], // 宽 阅读全文
posted @ 2022-10-26 14:20 yw3692582 阅读(85) 评论(0) 推荐(0)
摘要: /* eslint-disable */ let idTmr; const getExplorer = () => { let explorer = window.navigator.userAgent; //ie if (explorer.indexOf("MSIE") >= 0) { retur 阅读全文
posted @ 2022-10-25 12:36 yw3692582 阅读(64) 评论(0) 推荐(0)
摘要: this.$refs['multipleTable'].bodyWrapper.scrollTop = 0 // 顶部 this.$refs['multipleTable'].bodyWrapper.scrollTop = this.$refs['multipleTable'].bodyWrappe 阅读全文
posted @ 2022-08-29 10:16 yw3692582 阅读(164) 评论(0) 推荐(0)
摘要: /** * 四舍五入,保留指定小数位数,当原始数据不满足长度时,不要补 0 * @param number [Number | String] 原始数据,支持字符串和数值型 * @param i [Number] 保留的小数个数 >= 0 * @returns [Number] 转换后的数据 */ 阅读全文
posted @ 2022-08-10 14:39 yw3692582 阅读(103) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 23 下一页