http://www.pfile.com.cn/api/profile/onlinePreview?url=(需要在线查看的文档地址)
vue代码
window.open('http://www.pfile.com.cn/api/profile/onlinePreview?url='+encodeURIComponent(“需要在线查看的文档地址”));
文档参考:http://www.pfile.com.cn/projects/pfile/bzwd.html
http://www.pfile.com.cn/api/profile/onlinePreview?url=(需要在线查看的文档地址)
vue代码
window.open('http://www.pfile.com.cn/api/profile/onlinePreview?url='+encodeURIComponent(“需要在线查看的文档地址”));
文档参考:http://www.pfile.com.cn/projects/pfile/bzwd.html