From a3ee1106c94380dade5075ff9efab444b86609bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=98=B1=E8=BE=BE?= Date: Fri, 13 Jun 2025 10:29:06 +0800 Subject: [PATCH] =?UTF-8?q?feat(comparison):=20=E6=B7=BB=E5=8A=A0=E5=BC=80?= =?UTF-8?q?=E5=A7=8B=E6=AF=94=E5=AF=B9=E6=8C=89=E9=92=AE=E7=9A=84=E7=A6=81?= =?UTF-8?q?=E7=94=A8=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在按钮上添加 :disabled 属性,当 comparisonMap 长度小于等于 1 时禁用按钮 - 优化了按钮的可操作性,防止用户在没有足够比较项时开始比对 --- src/views/comparison/index.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/views/comparison/index.vue b/src/views/comparison/index.vue index 7150318..beaca53 100644 --- a/src/views/comparison/index.vue +++ b/src/views/comparison/index.vue @@ -37,7 +37,14 @@
- 开始比对 + 开始比对