Browse Source

yangshi

small-tupu
菅振宇 6 months ago
parent
commit
6dbf646666
  1. 10
      gyxtp/src/view/small.vue

10
gyxtp/src/view/small.vue

@ -384,6 +384,10 @@ export default {
},
methods: {
initChart() {
getKeywordsByKeyword(this.getpoinName).then(res=>{
this.words = res
//
if (this.chart) {
this.chart.dispose()
@ -430,11 +434,9 @@ export default {
],
backgroundColor: 'rgba(255, 255, 255, 0.21)'
}
getKeywordsByKeyword(this.getpoinName).then(res=>{
this.words = res
})
this.chart.setOption(option)
})
},
randomColor() {
return `hsl(${Math.random() * 360}, 70%, 50%)`

Loading…
Cancel
Save