From e2c38424805c32c5bd10787dda3eb32a2aa9224b Mon Sep 17 00:00:00 2001 From: zx <604444282@qq.com> Date: Thu, 16 Dec 2021 14:05:58 +0800 Subject: [PATCH] zx --- src/utils/gol/bubbleWord.js | 12 ++++++------ .../MarketingComparison/mcChooseModel/index.vue | 6 ------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/src/utils/gol/bubbleWord.js b/src/utils/gol/bubbleWord.js index c5b5982..e9eb559 100644 --- a/src/utils/gol/bubbleWord.js +++ b/src/utils/gol/bubbleWord.js @@ -60,12 +60,12 @@ export default function createWordCloud(data) { fontWeight: 'bold', //颜色的回调函数, [] color: function () { - return colors[Math.floor((Math.random() * 8) + 0)]; - // return 'rgb(' + [ - // Math.round(Math.random() * 255), - // Math.round(Math.random() * 255), - // Math.round(Math.random() * 255) - // ].join(',') + ')'; + // return colors[Math.floor((Math.random() * 8) + 0)]; + return 'rgb(' + [ + Math.round(Math.random() * 255), + Math.round(Math.random() * 255), + Math.round(Math.random() * 255) + ].join(',') + ')'; } }, emphasis: { diff --git a/src/views/MarketingComparison/mcChooseModel/index.vue b/src/views/MarketingComparison/mcChooseModel/index.vue index 9c34a80..59ee145 100644 --- a/src/views/MarketingComparison/mcChooseModel/index.vue +++ b/src/views/MarketingComparison/mcChooseModel/index.vue @@ -182,12 +182,6 @@ export default { goback() { this.$router.go(-1); }, - //删除已选择页面 - refresh() { - for(let i=0;i