From 5d04184e2c4e1a2a077b5579d4c503e3ead261fe Mon Sep 17 00:00:00 2001 From: ddlucky Date: Wed, 17 Apr 2024 09:59:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AA=E6=8F=90=E4=BA=A4=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E5=A4=9A=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/INFO_FILES/INFO_FILES.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/INFO_FILES/INFO_FILES.js b/pages/INFO_FILES/INFO_FILES.js index 086aeec..f995c64 100644 --- a/pages/INFO_FILES/INFO_FILES.js +++ b/pages/INFO_FILES/INFO_FILES.js @@ -126,12 +126,13 @@ Page({ // that.setData({ // upFiles: files // }) - var files = []; + var files = that.data.upFiles; res.tempFiles.forEach((x)=>{ var IMG=x.tempFilePath; files.push(IMG); }) + that.setData({ upFiles: files })