From 8117fdb3776af01c74d3720045ba13a9e2c21095 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=99=93=E7=90=AA?= Date: Fri, 16 Sep 2022 14:31:29 +0800 Subject: [PATCH] =?UTF-8?q?app2.0=20=E8=A7=A3=E5=86=B3=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E9=94=99=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LearunApp-2.2.0/pages/nworkflow/workflow.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/workflow.js b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/workflow.js index d53429cf3..0b6531b31 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/workflow.js +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/nworkflow/workflow.js @@ -265,15 +265,15 @@ export default { // 不是表格的情况 const path = item.__valuePath__ const val = get(formValue, path) - + var guid = undefined if (item.type == 'upload') { // 先生成一个guid - var guid = this.newguid(); + guid = this.newguid(); // 取出当前列对应的labelId var labeId = item.id // 从缓存取出当前审批流程所有的guid var guids = JSON.parse(uni.getStorageSync('guids')) - if (guids&&JSON.stringify(guids)!=='{}') { + if (guids&&JSON.stringify(guids)!=='{}'&&guids[labeId]) { guid = guids[labeId] } }