From 1fca8867d641843602b13dc22b9b383ad032ca75 Mon Sep 17 00:00:00 2001
From: yangdj <18302547071@163>
Date: Sat, 29 Apr 2023 14:14:19 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=AE=AD=E6=97=B6PPT=E4=BB=BB?=
 =?UTF-8?q?=E5=8A=A1=EF=BC=8Cppt=E6=A0=BC=E5=BC=8F=E8=BD=ACPDF=E5=AD=98?=
 =?UTF-8?q?=E5=85=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../resources/static/js/jlw/handsOnSimulationTasks/add.js   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/web/src/main/resources/static/js/jlw/handsOnSimulationTasks/add.js b/web/src/main/resources/static/js/jlw/handsOnSimulationTasks/add.js
index c15291e1..84fae26b 100644
--- a/web/src/main/resources/static/js/jlw/handsOnSimulationTasks/add.js
+++ b/web/src/main/resources/static/js/jlw/handsOnSimulationTasks/add.js
@@ -142,7 +142,11 @@ layui.define([ 'form','laytpl', 'laydate', 'table','element','handsOnSimulationT
             if(res.code > 0){
                 return layer.msg('上传失败');
             }else {
-                $('.progressCss_ppt:last .fileUrl').html(res.data.url);
+                if(!$.isEmpty(res.data.cvPDFUrl)){
+                    $('.progressCss_ppt:last .fileUrl').html(res.data.cvPDFUrl);
+                }else {
+                    $('.progressCss_ppt:last .fileUrl').html(res.data.url);
+                }
                 $(".progressCss_ppt .closeInfo").unbind();
                 $(".progressCss_ppt .closeInfo").click(function (){
                     $(this).parents(".progressCss_ppt").remove();