沈斌
2018-01-28 421ebe05c8b1e8099ba000836fc1dcdddeef65d0
src/app/routes/dashboard/monitor/monitor.component.ts
@@ -26,8 +26,8 @@
            this.http.get('/chart/tags')
        ).subscribe(([ res, tags ]) => {
            this.data = res;
            tags.list[Math.floor(Math.random() * tags.list.length) + 1].value = 1000;
            this.tags = tags.list;
            tags['list'][Math.floor(Math.random() *  tags['list'].length) + 1].value = 1000;
            this.tags =  tags['list'];
            this.loading = false;
        });