- 博客(2)
- 收藏
- 关注
原创 后台数据返回3个字段,展示不同的echarts
UI框架:ant 页面展示 代码展示 data() { return{ numType: "VS00" //先定义一个初始统计类型 } }, cerated() { this.queryCharts(this.numType); }, methods: { ![echatrs](https://img-blog.csdnimg.cn/20200514182951413.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdG
2020-05-14 19:09:18
442
原创 vue项目列表1分钟定时器,及销毁页面关闭定时器
data() { retuen{ time:null //定时名 } } mounted() { this.gitList(); //列表 this.time = setInterval(() =>{ //应用setInterval来刷新getList() this.getList(); },1000*60); //一分钟 } //清除定时器 methods: { beforDesroy() { clearIntreval(this.time); t
2020-05-14 16:39:10
1168
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人