摘要: legend: { // 图例 orient: 'vertical', left: 'right', icon: 'circle', data: this.legendData, formatter: name => { return `{a|${this.chartData.find(item = 阅读全文
posted @ 2020-04-24 13:46 花囍 阅读(1231) 评论(0) 推荐(0) 编辑
摘要: getChartData() { const { schoolId } = this.chartParams this.getEquCountAndType({ schoolId }).then(res => { console.log(res) // {"DV86-LA":7,"55X":1,"D 阅读全文
posted @ 2020-04-24 10:53 花囍 阅读(661) 评论(0) 推荐(0) 编辑
摘要: <label>不换行</label> display: inline-block; white-space: nowrap; 强制段落中的文本不进行换行 阅读全文
posted @ 2020-04-23 20:29 花囍 阅读(673) 评论(0) 推荐(0) 编辑
摘要: 使用f'lex布局时 两个并列的第三个盒子 会出现宽度不够, 可以通过flex-basis: 70px;flex-shrink: 0;进行宽度收缩 阅读全文
posted @ 2020-04-23 13:54 花囍 阅读(298) 评论(0) 推荐(0) 编辑
摘要: { key: '', title: '计划', width: 100, align: 'left', render: (h, params) => { const { actionType, isEveryday } = params.row if (isEveryday && isEveryday 阅读全文
posted @ 2020-04-22 14:37 花囍 阅读(1691) 评论(0) 推荐(0) 编辑
摘要: &__content{ width: 136px; border: none; //去除边框 outline: none; //可以去除点击input时的border } 阅读全文
posted @ 2020-04-21 18:49 花囍 阅读(960) 评论(0) 推荐(0) 编辑