在vue-cli 3.x+中,直接将文件放在public ... window.location.href="/file/xxx.doc" ... 对下载的文件命名link.download = file_name; document.body.
確定! 回上一頁