From 9cd0a4f974c58abdd80a365f535ccddcd092d7bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Sun, 12 Apr 2020 23:48:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dprogress=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E7=9A=84=E5=B1=9E=E6=80=A7=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/form/progress.wc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/form/progress.wc b/src/form/progress.wc index f2666bd..96bdf92 100644 --- a/src/form/progress.wc +++ b/src/form/progress.wc @@ -92,7 +92,7 @@ export default class Progress { watch() { switch (name) { - case max: + case 'max': var max = +val if (max !== max || max < 1) { max = 1