词云列表修复

lijinlong
许宏杰 2 years ago
parent 686c87676f
commit fb723b3a7e

@ -70,10 +70,9 @@ export default {
}, },
methods: { methods: {
getDataList() { getDataList() {
wordCloud().then((res) => { this.$store.getters.dictObject["tc_cy_type"].forEach((value) => {
res.data.forEach((value) => {
this.data.push({ this.data.push({
name: this.$filterDict("tc_cy_type", value.type), name: value.dictLabel,
count: 888, count: 888,
}); });
}); });
@ -81,7 +80,6 @@ export default {
this.init(); this.init();
this.animate(); this.animate();
}); });
});
}, },
init() { init() {
const tags = document.querySelectorAll(".tag"); const tags = document.querySelectorAll(".tag");

Loading…
Cancel
Save