diff --git a/chapter2/mysite/myapp/static/scripts/index.js b/chapter2/mysite/myapp/static/scripts/index.js index 5466f92..61d21d3 100755 --- a/chapter2/mysite/myapp/static/scripts/index.js +++ b/chapter2/mysite/myapp/static/scripts/index.js @@ -95,7 +95,7 @@ function init(){ color: '#fff' }, formatter: function (value) { - return value + "k条" + return value + "条" }, }, splitLine:{ @@ -152,7 +152,7 @@ function init(){ } } }, - data: last_day_comment + data: last_day_comment.reverse() }, ] @@ -288,7 +288,7 @@ function init(){ color: '#fff' }, formatter: function (value) { - return value + "k条" + return value + "条" }, }, splitLine:{ @@ -345,7 +345,7 @@ function init(){ } } }, - data: last_day_product + data: last_day_product.reverse() },