不使用組件方式,使用window.location進行導(dǎo)出功能 代碼如下: window.location = data.data.fileUrl; data.data.fileUrl 為后端返回的鏈接 微信圖片1.png