摘要: 想要在项目中使用echarts,首先需要在项目中安装echarts 可以运行 1. npm install echarts -S // 或 2. cnpm install echarts -S 安装完成之后,可以在项目中全局使用,也可以在项目中局部使用。 全局引用 : 首先,在main.js中引入e 阅读全文
posted @ 2019-10-31 14:23 grg 阅读(909) 评论(0) 推荐(0) 编辑
摘要: 1.在tabel标签中绑定 :cell-style="cellStyle" 2.在methods中定义cellStyle方法 cellStyle(row, column, rowIndex, columnIndex) { if (row.column.label == "事件告警信息" || row 阅读全文
posted @ 2019-09-09 14:04 grg 阅读(2218) 评论(0) 推荐(0) 编辑