AI统计
This commit is contained in:
@@ -218,9 +218,11 @@ export default {
|
|||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
if(res.data.length) {
|
if(res.data.length) {
|
||||||
var barX = []
|
var barX = []
|
||||||
res.data.map((item) => {
|
res.data.map((item, index) => {
|
||||||
barX.push(item.tag)
|
if(index < 10) {
|
||||||
this.barData.push(item.c)
|
barX.push(item.tag)
|
||||||
|
this.barData.push(item.c)
|
||||||
|
}
|
||||||
var i = { name: item.tag, value: item.c };
|
var i = { name: item.tag, value: item.c };
|
||||||
this.wordData.push(i);
|
this.wordData.push(i);
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user