From 87e56a13462651f06e0c6d96c5b5d2c057ddc87e Mon Sep 17 00:00:00 2001
From: lizijiee <562949697@qq.com>
Date: Sat, 23 Mar 2024 17:23:39 +0800
Subject: [PATCH] =?UTF-8?q?fix:=202564=20=E3=80=90AI=E4=B8=80=E9=94=AE?=
=?UTF-8?q?=E6=9F=A5=E9=87=8D=E3=80=91=E5=BD=93=E5=89=8D=E7=B3=BB=E7=BB=9F?=
=?UTF-8?q?=E5=88=97=E8=A1=A8=E6=8E=92=E5=BA=8F=E5=86=85=E5=AE=B9=E4=B8=8E?=
=?UTF-8?q?RP=E8=AE=BE=E8=AE=A1=E5=9B=BE=E4=B8=8D=E7=AC=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/config/home.ts | 4 ++++
src/views/home/content/Content.vue | 9 +++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/src/config/home.ts b/src/config/home.ts
index 93de47e..a6635ef 100644
--- a/src/config/home.ts
+++ b/src/config/home.ts
@@ -1,4 +1,8 @@
export const timeOptions = [
+ {
+ label: '全部',
+ value: '',
+ },
{
label: '近3个月',
value: '3',
diff --git a/src/views/home/content/Content.vue b/src/views/home/content/Content.vue
index 50313e5..5e22d73 100644
--- a/src/views/home/content/Content.vue
+++ b/src/views/home/content/Content.vue
@@ -97,7 +97,7 @@ onUpdated(() => {
layout()
})
-const timeRange = ref('99')
+const timeRange = ref('')
const timeLabel = computed(() => {
const item = timeOptions.find((option) => {
return option.value === timeRange.value
@@ -333,14 +333,15 @@ function previewHandler(index: number,event: MouseEvent) {