From b55c521403e14e0b58d0cf832dcb1f0e703d99c7 Mon Sep 17 00:00:00 2001 From: wood chen Date: Tue, 18 Mar 2025 03:36:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=8A=B6=E6=80=81=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E5=8A=9F=E8=83=BD=EF=BC=8C=E4=BC=98=E5=8C=96=E4=BB=B7?= =?UTF-8?q?=E6=A0=BC=E5=88=97=E8=A1=A8=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 Prices.vue 中添加状态筛选组件,允许用户根据状态过滤价格列表 - 更新 loadPrices 函数以支持状态筛选参数 - 增强数据缓存逻辑,包含状态筛选信息 - 监听状态选择变化,确保数据加载时重置到第一页 --- frontend/src/views/Prices.vue | 39 +++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/Prices.vue b/frontend/src/views/Prices.vue index 38b7ba3..4fc7671 100644 --- a/frontend/src/views/Prices.vue +++ b/frontend/src/views/Prices.vue @@ -62,6 +62,19 @@ + +
+
状态筛选:
+
+ 全部 + + {{ status }} + +
+
+