liujiankang 7 éve
szülő
commit
77015fe8df

+ 1 - 1
watero-rst-web/src/main/webapp/WEB-INF/views/pts/machinePtras/ptras_add.ftl

@@ -297,7 +297,7 @@
             success: function (data) {
                 if(data.returnCode == 200){
                     $('#componentsImg').val(data.returnMsg.imgUrl);
-                    $('#partsImg').attr("src",${path}data.returnMsg.imgUrl);
+                    $('#partsImg').attr("src",root_path+data.returnMsg.imgUrl);
                     $("#fileid").remove();
                     /*<input type="file" name="file" id="fileid" style="opacity: 0; position: absolute; width: 90px;height: 80px;">*/
                     $("#fileDiv").prepend('<input type="file" name="file" id="fileid" style="opacity: 0; position: absolute; width: 90px;height: 80px;" onchange="fileUpload()">');