Commit 658e7c62 by 胡悦

修复bug

1 parent bfbc4d19
......@@ -94,9 +94,8 @@ export default {
drawLine(api, options, charts, title, nodata) {
api(this.params).then(res => {
this[nodata] = !res.length
console.log(this[nodata])
let x
let y
let x = []
let y = []
res.map(item => {
x.push(item.time)
y.push(item.count)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!