From 7ed320b91220a66eb064900883635c933e32fb70 Mon Sep 17 00:00:00 2001 From: itgaojian163 Date: Wed, 14 May 2025 10:14:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E6=8F=92=E4=BB=B6=E8=BF=9B?= =?UTF-8?q?=E5=BA=A6=E6=98=BE=E7=A4=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/down-progress/down-progress.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/components/down-progress/down-progress.js b/components/down-progress/down-progress.js index 995d72d..3e0dbf6 100644 --- a/components/down-progress/down-progress.js +++ b/components/down-progress/down-progress.js @@ -16,7 +16,13 @@ Component({ value: '下载中...' } }, - + 'observers': { + 'progress': function (newValue) { + this.setData({ + progressNum: newValue + }) + } + }, /** * 组件的初始数据 */