From a42f3916b2adfa061ae378534d56a72f42bd5fab Mon Sep 17 00:00:00 2001 From: zprobot <1727697083@qq.com> Date: Wed, 20 Dec 2023 12:54:08 +0800 Subject: [PATCH] fix_show --- src/components/AeShow/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/AeShow/index.vue b/src/components/AeShow/index.vue index 6c8dadf..07a5206 100644 --- a/src/components/AeShow/index.vue +++ b/src/components/AeShow/index.vue @@ -171,7 +171,7 @@ const initData = (data) => { for (let i = 0; i < data.tags.length; i++) { let obj = {} obj['name'] = data.tags[i] - obj['data'] = data.data[i].filter(value=>value<=7) + obj['data'] = data.data[i].filter(value=>value>=1) dataSort.push(obj) } // sort data @@ -270,7 +270,7 @@ const options = { show: false }, min: 1, - max: 10 + //max: 10 }, toolbox: { feature: { @@ -337,7 +337,7 @@ const init = () => { data.push([]) } else { let index = item.tags.indexOf(tissue) - let rowArr = item.data[index] + let rowArr = item.data[index].filter(v=>v>=1) data.push(rowArr) } })