From 5b1dbf52b1b576b6428264c609e225055b34154e Mon Sep 17 00:00:00 2001 From: xiangxy Date: Mon, 29 Apr 2024 17:56:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98=E6=83=85=E5=86=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/modules/InStore.vue | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/src/pages/modules/InStore.vue b/src/pages/modules/InStore.vue index 0adfbe4..4bab055 100644 --- a/src/pages/modules/InStore.vue +++ b/src/pages/modules/InStore.vue @@ -15,12 +15,12 @@ @@ -170,7 +170,6 @@ export default { wrk: [], kc: {}, hw: {}, - total: 0, resData: {}, myCharts01: '' } @@ -227,12 +226,13 @@ export default { this.wrk = res.wrk this.kc = res.kc this.hw = res.hw - this.kc.list.map(el => { - this.total += Number(el.number) - if (this.total > 0) { - el.zhanbi = Number(el.number) / this.total - } - }) + // let total = 0 + // this.kc.list.map(el => { + // total += Number(el.number) + // if (total > 0) { + // el.zhanbi = Number(el.number) / total + // } + // }) }, setEchart01 () { // let data = [ @@ -503,4 +503,5 @@ export default { line-height 26px span font-size 12px + scale 0.9