diff --git a/src/views/users/GiftManageView.vue b/src/views/users/GiftManageView.vue index cc331bb..e5a608b 100644 --- a/src/views/users/GiftManageView.vue +++ b/src/views/users/GiftManageView.vue @@ -1052,7 +1052,7 @@ export default { let path = res.path; console.log(path); $('#viewUrl').val(path); - $('#viewFile').attr("src", json.path); + $('#viewFile').attr("src", path); if (path != '') { $("#viewFileInfo").html('已上传成功'); } else {