随笔分类 -  Element UI

摘要:this.$nextTick(() => { let h = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; this.tableHeight = h - 288; 阅读全文
posted @ 2021-01-20 14:41 ThisCall 阅读(761) 评论(0) 推荐(0)
摘要:3、解决办法,刷新组件,调用doLayout对table进行重新绘制(ps:不加nextTick可能会无效呦) this.$nextTick(() => { this.$refs.singleTable.doLayout() }) 阅读全文
posted @ 2021-01-18 17:05 ThisCall 阅读(675) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-01-17 15:41 ThisCall 阅读(392) 评论(0) 推荐(0)
摘要:https://segmentfault.com/a/1190000021296111 <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <!-- import CSS --> <link rel="stylesheet" href="http 阅读全文
posted @ 2021-01-17 15:07 ThisCall 阅读(3529) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/Kummy/p/9470393.html 阅读全文
posted @ 2021-01-17 10:48 ThisCall 阅读(775) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-01-15 10:26 ThisCall 阅读(246) 评论(0) 推荐(0)
摘要:val = val.slice(0, 5); val = val.replace(/[^0-9]/gi, ""); 阅读全文
posted @ 2021-01-13 15:47 ThisCall 阅读(429) 评论(0) 推荐(1)
摘要:.el-tooltip__popper.is-light { color: #dcdcdc; border: 1px solid#dcdcdc; } 阅读全文
posted @ 2020-12-24 13:14 ThisCall 阅读(679) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_36802726/article/details/103149495 :cell-style="cellStyle" cellStyle ({ row, column, rowIndex, columnIndex }) { if ( // colum 阅读全文
posted @ 2020-12-23 13:42 ThisCall 阅读(2289) 评论(0) 推荐(0)
摘要:获取到的数据 最好使用label objectSpanMethod({ row, column, rowIndex, columnIndex }) { // column.label "高质量发展能力" }, <el-table class="table-tranparent" align="cen 阅读全文
posted @ 2020-11-18 16:58 ThisCall 阅读(992) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/mlw1814011067/p/9368480.html https://www.jianshu.com/p/5055fda5bfbb https://blog.csdn.net/ly979898684/article/details/10447433 阅读全文
posted @ 2020-11-16 13:20 ThisCall 阅读(64) 评论(0) 推荐(0)
摘要:js getChangeSetModle() { let that = this; let search = this.search; let setModelDataCopy = JSON.parse(JSON.stringify(this.setModelDataCopy)); let filt 阅读全文
posted @ 2020-11-11 15:49 ThisCall 阅读(694) 评论(0) 推荐(0)
摘要:<el-table class="table-head-transparent" :data="tableData" :height="tableHeight" :header-cell-style="{ 'border-ground': 'tranparent' }" > <el-table-co 阅读全文
posted @ 2020-11-09 10:34 ThisCall 阅读(2955) 评论(0) 推荐(0)
摘要:.tableTransparent /deep/ .el-table, .el-table__expanded-cell { background-color: transparent; } .tableTransparent /deep/ .el-table tr { background-col 阅读全文
posted @ 2020-11-06 14:07 ThisCall 阅读(2538) 评论(0) 推荐(0)
摘要:key重复,或数据有重复 阅读全文
posted @ 2020-10-30 11:28 ThisCall 阅读(131) 评论(0) 推荐(0)
摘要:https://www.pianshen.com/article/78821349558/ https://blog.csdn.net/qq_39480597/article/details/106277886 再先转eot https://www.fontke.com/tool/convfont/ 阅读全文
posted @ 2020-10-15 14:26 ThisCall 阅读(623) 评论(0) 推荐(0)
摘要:rules: { appraisalType: [{ required: true, message: "考核类型必选" }], subModelName: [ { required: true, message: "请输入部门名称", trigger: "blur" }, { max: 30, m 阅读全文
posted @ 2020-10-14 16:54 ThisCall 阅读(8714) 评论(0) 推荐(1)
摘要:<template> <div class="pg-container"> <el-table :expand-row-keys="expends" :row-key="getRowKeys" :data="tableData" class="table-class"> <el-table-colu 阅读全文
posted @ 2020-09-30 15:12 ThisCall 阅读(1664) 评论(0) 推荐(0)
摘要:校验去掉type 阅读全文
posted @ 2020-08-26 17:03 ThisCall 阅读(977) 评论(0) 推荐(0)
摘要:在mian.js里面: import ElementUI from 'element-ui'; // 修改 el-dialog 默认点击遮照为不关闭 ElementUI.Dialog.props.closeOnClickModal.default = false 阅读全文
posted @ 2020-08-19 15:35 ThisCall 阅读(1641) 评论(0) 推荐(0)