Front-end browser directly previews the word file
1. Basic address (fixed)
let baseUrl = 'http://www.xdocin.com/xdoc?_func=to&_format=html&_cache=1&_xdoc='
2. The word address uploaded by yourself must be accessible on the public network, and must use encodeURIComponent to encode
let fileUrl = https://pan.baidu.com/s/1-2aDtACJZZCIaH9ls51izQ.doc
3. Use window.open to open
let baseUrl = 'http://www.xdocin.com/xdoc?_func=to&_format=html&_cache=1&_xdoc='
let url = encodeURIComponent(fileUrl)
window.open(baseUrl + url, '_blank')
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。