|
@@ -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()">');
|