在线浏览word文件

// 微软浏览文件官网前缀let base = 'http://www.xdocin.com/xdoc?_func=to&_format=html&_cache=1&_xdoc='// fileUrl本人word文档存储的线上地址let fileUrl = '线上文件地址'let url = encodeURIComponent(fileUrl)window.open(base + url, '_blank')