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();