摘要:
1.安装e-charts项目依赖 npm install echarts --save 或者 npm install echarts -S 2.引入项目中 全局引入(main.js) import echarts from 'echarts' Vue.prototype.$echarts = ech 阅读全文
摘要:
1.过滤器(filter)(可以全局注册或者局部注册) 过滤器可以用在两个地方:双花括号插值和 v-bind 表达式 定义局部方法 filters:{ xx(){ } } eg: <!-- 在双花括号中 --> {{ name | capitalize }} <!-- 在 `v-bind` 中 -- 阅读全文