From b11d02115b93a51d71d693fdf064172e281afc9c Mon Sep 17 00:00:00 2001 From: lrw <319150264@qq.com> Date: Thu, 8 Aug 2024 11:02:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A9=E6=9C=9F=E8=83=83=E7=99=8C=E5=8D=A0?= =?UTF-8?q?=E6=AF=94=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dataAnalysis/index.vue | 9 +++++---- vue.config.js | 1 + 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/dataAnalysis/index.vue b/src/views/dataAnalysis/index.vue index 9825972..bd6358a 100644 --- a/src/views/dataAnalysis/index.vue +++ b/src/views/dataAnalysis/index.vue @@ -248,8 +248,8 @@ export default { ], screenNum: 0, botPieData2: [ - { value: 0, name: "患癌占比" }, - { value: 0, name: "未患癌占比" }, + { value: 0, name: "进展期胃癌占比" }, + { value: 0, name: "早期胃癌占比 " }, ], mapData: [], curTime: "", @@ -406,8 +406,9 @@ export default { earlyGastric() { earlyGastric().then((res) => { if (res.code == 1 && res.data) { - this.botPieData2[0].value = res.data.earlyGastricCancer - this.botPieData2[1].value = res.data.unEarlyGastricCancer + console.log(res.data, 222) + this.botPieData2[0].value = res.data.unEarlyGastricCancer + this.botPieData2[1].value = res.data.earlyGastricCancer } }) }, diff --git a/vue.config.js b/vue.config.js index 2cd195f..47ccc2d 100644 --- a/vue.config.js +++ b/vue.config.js @@ -216,6 +216,7 @@ module.exports = { .plugin("compression") .use(CompressionWebpackPlugin, [ { + cache: false, filename: "[path].gz[query]", algorithm: "gzip", test: new RegExp("\\.(" + productionGzipExtensions.join("|") + ")$"), -- 2.22.0