词云列表修复

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

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

Loading…
Cancel
Save