From fb5693c29db0edbd00f277532d4a6f0e646f542a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Mon, 1 Mar 2021 19:02:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=BF=9B=E5=BA=A6=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/form/index.js | 1 + src/form/progress.wc | 85 +++++++++++++++++++++++++++++--------------- 2 files changed, 58 insertions(+), 28 deletions(-) diff --git a/src/form/index.js b/src/form/index.js index 92449e1..b2b1300 100644 --- a/src/form/index.js +++ b/src/form/index.js @@ -8,3 +8,4 @@ import './checkbox' import './switch' import './select' import './star' +import './progress' diff --git a/src/form/progress.wc b/src/form/progress.wc index 3f22d36..4cfc9fa 100644 --- a/src/form/progress.wc +++ b/src/form/progress.wc @@ -1,5 +1,13 @@ @@ -83,7 +112,7 @@ export default class Progress { calculate() { var { max, value } = this.props - this.__THUMB__.style.width = `${(100 * value) / max}%` + // this.__THUMB__.style.width = `${(100 * value) / max}%` } mounted() {