使用方法“https://view.officeapps.live.com/op/view.aspx?src=”的后面拼上你的服务器word文件地址;

使用office预览功能报错微软office在线预览使用及隐藏的坑

解决方法
通过encode处理一下url地址,可以使用encodeURIComponent()方法
这个文件的服务器地址必须是域名,不可以使用ip地址,且端口需要是80

相关文章:

  • 2022-12-23
  • 2021-08-08
  • 2021-12-18
  • 2022-12-23
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-12
  • 2022-03-06
  • 2022-12-23
  • 2022-03-13
  • 2021-08-04
  • 2021-07-16
相关资源
相似解决方案