From 33d68dfddf02abe743290e289e2a3433af36feb5 Mon Sep 17 00:00:00 2001 From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com> Date: Thu, 27 Feb 2025 10:46:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/evaluate/outsourcerEvaluation/evaluationForm.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/resources/static/pages/evaluate/outsourcerEvaluation/evaluationForm.html b/src/main/resources/static/pages/evaluate/outsourcerEvaluation/evaluationForm.html index 8691f24..9ad2cf0 100644 --- a/src/main/resources/static/pages/evaluate/outsourcerEvaluation/evaluationForm.html +++ b/src/main/resources/static/pages/evaluate/outsourcerEvaluation/evaluationForm.html @@ -227,7 +227,10 @@ let dataId = $(this).data('field') - if (`${dataId}-file` && `${dataId}-file`.fileName) { + console.log(dataId) + console.log(item1[`${dataId}-file`]) + + if (item1[`${dataId}-file`] && item1[`${dataId}-file`][fileName]) { $(this).find('.layui-table-cell').append(` `) } }