随笔分类 -  Element UI

摘要:3、解决办法,刷新组件,调用doLayout对table进行重新绘制(ps:不加nextTick可能会无效呦) this.$nextTick(() => { this.$refs.singleTable.doLayout() }) 阅读全文
posted @ 2021-01-18 17:05 ThisCall 阅读(648) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-01-17 15:41 ThisCall 阅读(387) 评论(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 阅读(3389) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/Kummy/p/9470393.html 阅读全文
posted @ 2021-01-17 10:48 ThisCall 阅读(767) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-01-15 10:26 ThisCall 阅读(242) 评论(0) 推荐(0) 编辑
摘要:val = val.slice(0, 5); val = val.replace(/[^0-9]/gi, ""); 阅读全文
posted @ 2021-01-13 15:47 ThisCall 阅读(414) 评论(0) 推荐(0) 编辑
摘要:.el-tooltip__popper.is-light { color: #dcdcdc; border: 1px solid#dcdcdc; } 阅读全文
posted @ 2020-12-24 13:14 ThisCall 阅读(670) 评论(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 阅读(2234) 评论(0) 推荐(0) 编辑
摘要:获取到的数据 最好使用label objectSpanMethod({ row, column, rowIndex, columnIndex }) { // column.label "高质量发展能力" }, <el-table class="table-tranparent" align="cen 阅读全文
posted @ 2020-11-18 16:58 ThisCall 阅读(984) 评论(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 阅读(61) 评论(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 阅读(684) 评论(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 阅读(2938) 评论(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 阅读(2481) 评论(0) 推荐(0) 编辑
摘要:key重复,或数据有重复 阅读全文
posted @ 2020-10-30 11:28 ThisCall 阅读(120) 评论(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 阅读(616) 评论(0) 推荐(0) 编辑
摘要:rules: { appraisalType: [{ required: true, message: "考核类型必选" }], subModelName: [ { required: true, message: "请输入部门名称", trigger: "blur" }, { max: 30, m 阅读全文
posted @ 2020-10-14 16:54 ThisCall 阅读(8609) 评论(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 阅读(1603) 评论(0) 推荐(0) 编辑
摘要:校验去掉type 阅读全文
posted @ 2020-08-26 17:03 ThisCall 阅读(929) 评论(0) 推荐(0) 编辑
摘要:在mian.js里面: import ElementUI from 'element-ui'; // 修改 el-dialog 默认点击遮照为不关闭 ElementUI.Dialog.props.closeOnClickModal.default = false 阅读全文
posted @ 2020-08-19 15:35 ThisCall 阅读(1600) 评论(0) 推荐(0) 编辑
摘要:第一种 点击搜索 <el-select class="mr10" style="width:150px;" v-model="valueType" placeholder="请选择考核类型" :loading="selectLoading" > <el-input v-model="searchSe 阅读全文
posted @ 2020-08-18 14:34 ThisCall 阅读(1436) 评论(0) 推荐(0) 编辑