diff --git a/src/views/workbench/components/clue-status-pie.vue b/src/views/workbench/components/clue-status-pie.vue index 5f57146..e61741a 100644 --- a/src/views/workbench/components/clue-status-pie.vue +++ b/src/views/workbench/components/clue-status-pie.vue @@ -62,20 +62,20 @@ const fetchData = async (payload: IForm) => { } }) // 检查数组中的每一项是否都为 0 - const allZero = data.value.every(item => item.value === 0) - if (allZero) { - chartRef.value.setOption({ - title: { - text: '暂无数据', - x: 'center', - y: 'center' - }, - legend: { - show: false - }, - series: [] - }) - } + // const allZero = data.value.every(item => item.value === 0) + // if (allZero) { + // chartRef.value.setOption({ + // title: { + // text: '暂无数据', + // x: 'center', + // y: 'center' + // }, + // legend: { + // show: false + // }, + // series: [] + // }) + // } } catch (error) {} loading.value = false } diff --git a/src/views/workbench/components/search-form.vue b/src/views/workbench/components/search-form.vue index 8face83..f564487 100644 --- a/src/views/workbench/components/search-form.vue +++ b/src/views/workbench/components/search-form.vue @@ -13,8 +13,6 @@