我的博客从部署到如今已经进行了不小的更新!
本来1点多就打算睡的,但是你们看一下我《部署通知》的那一篇的后半章就知道了,那可真是,报错一个接着一个啊,一直改到现在...
1.新功能
1. PPT阅读器
支持PPT的预览以及下载。
2. PDF阅读器
支持PDF的预览以及下载。
3. 时间轴组件
参观了别人的博客后复刻的。 能够更直观的看到我博客的发表时间历程。
4. 文章目录功能
这个也是参观了别人的博客后进行复刻的。 这个目录功能算是这些新功能里我迭代的次数比较多的功能里,从一开始的样式问题到后面的容器定位问题,也算是经历了重重困难🥹。 本功能支持用户快捷的在文章中跳转到自己想要阅读的部分。移动端和PC端均以悬浮球形式展示。
5. 友链
哈哈哈😂,没想到吧,友链这个东西其实我一开始也不知道是什么,也是从别人的博客复刻过来的。
2.预期研发功能
1.更多的Live2D语音
2.更多的Live2D人物
3.接入讯飞星火API
PS:有别的功能希望我做的可以在评论区给我留言哦。
2025-04-26 04:15:09 修改了PPTContent组件的Bug
在PPT编辑器界面的报错:
Chrome is moving towards a new experience that allows users to choose to browse without third-party cookies.Understand this warning PowerPointFrame.aspx:12 Uncaught ReferenceError: ViewPreview is not defined at PowerPointFrame.aspx:12:115 at PowerPointFrame.aspx:12:2323 (anonymous) @ PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&ui=en%2DUS&rs=en%2DUS&WOPISrc=https%3A%2F%2Fpsg4%2Dview%2Dwopi%2Ewopi%2Eonline%2Eoffice%2Enet%3A810%2Foh%2Fwopi%2Ffiles%2F%40%2FwFileId%3FwFileId%3Dhttps%253A%252F%252Fraw%252Egithubusercontent%252Ecom%253A443%252Fxfwmhxx%252FBlog%252Dpic%252Dbed%252Fmaster%252Fppt%252F%2525E6%252595%2525B0%2525E5%2525AD%2525A6%2525E5%2525BB%2525BA%2525E6%2525A8%2525A1%2525E5%2525AE%25259E%2525E9%2525AA%25258C%2525E8%2525AF%2525BEPPT%252F%2525E6%252595%2525B0%2525E5%2525AD%2525A6%2525E5%2525BB%2525BA%2525E6%2525A8%2525A1%2525E5%2525AE%25259E%2525E9%2525AA%25258C%2525E8%2525AF%2525BE%252520%2525E7%2525AC%2525AC%2525E4%2525B8%252580%2525E8%2525AF%2525BE%252Eppt&access_token_ttl=0&hid=72f95ecc-3250-43e2-a0da-0bef143fb52b:12 (anonymous) @ PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&ui=en%2DUS&rs=en%2DUS&WOPISrc=https%3A%2F%2Fpsg4%2Dview%2Dwopi%2Ewopi%2Eonline%2Eoffice%2Enet%3A810%2Foh%2Fwopi%2Ffiles%2F%40%2FwFileId%3FwFileId%3Dhttps%253A%252F%252Fraw%252Egithubusercontent%252Ecom%253A443%252Fxfwmhxx%252FBlog%252Dpic%252Dbed%252Fmaster%252Fppt%252F%2525E6%252595%2525B0%2525E5%2525AD%2525A6%2525E5%2525BB%2525BA%2525E6%2525A8%2525A1%2525E5%2525AE%25259E%2525E9%2525AA%25258C%2525E8%2525AF%2525BEPPT%252F%2525E6%252595%2525B0%2525E5%2525AD%2525A6%2525E5%2525BB%2525BA%2525E6%2525A8%2525A1%2525E5%2525AE%25259E%2525E9%2525AA%25258C%2525E8%2525AF%2525BE%252520%2525E7%2525AC%2525AC%2525E4%2525B8%252580%2525E8%2525AF%2525BE%252Eppt&access_token_ttl=0&hid=72f95ecc-3250-43e2-a0da-0bef143fb52b:12Understand this error 9[Report Only] This document requires 'TrustedScriptURL' assignment. 43[Report Only] This document requires 'TrustedScript' assignment. styleschromeless.css:1
GET https://res-1.cdn.office.net/officeonline/p/s/hF148EFCDB90A0B38_PptResources/1033/segoeui.woff net::ERR_ABORTED 404 (Not Found)Understand this error
BootViewDS.js:7 Uncaught (in promise) ReferenceError: appChrome is not defined at Object.m (BootViewDS.js:7:2233384) at BootViewDS.js:7:832068 m @ BootViewDS.js:7 (anonymous) @ BootViewDS.js:7 Promise.then (anonymous) @ BootViewDS.js:7 Promise.then (anonymous) @ BootViewDS.js:7 appMain @ BootViewDS.js:7 appMain @ BootViewDS.js:7 LaunchApp @ BootViewDS.js:7 window.onPageLoaded @ BootViewDS.js:35 onBodyLoad @ PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&ui=en%2DUS&rs=en%2DUS&WOPISrc=https%3A%2F%2Fpsg4%2Dview%2Dwopi%2Ewopi%2Eonline%2Eoffice%2Enet%3A810%2Foh%2Fwopi%2Ffiles%2F%40%2FwFileId%3FwFileId%3Dhttps%253A%252F%252Fraw%252Egithubusercontent%252Ecom%253A443%252Fxfwmhxx%252FBlog%252Dpic%252Dbed%252Fmaster%252Fppt%252F%2525E6%252595%2525B0%2525E5%2525AD%2525A6%2525E5%2525BB%2525BA%2525E6%2525A8%2525A1%2525E5%2525AE%25259E%2525E9%2525AA%25258C%2525E8%2525AF%2525BEPPT%252F%2525E6%252595%2525B0%2525E5%2525AD%2525A6%2525E5%2525BB%2525BA%2525E6%2525A8%2525A1%2525E5%2525AE%25259E%2525E9%2525AA%25258C%2525E8%2525AF%2525BE%252520%2525E7%2525AC%2525AC%2525E4%2525B8%252580%2525E8%2525AF%2525BE%252Eppt&access_token_ttl=0&hid=72f95ecc-3250-43e2-a0da-0bef143fb52b:5Understand this error styleschromeless.css:1
GET https://res-1.cdn.office.net/officeonline/p/s/hF148EFCDB90A0B38_PptResources/1033/segoeui.ttf net::ERR_ABORTED 404 (Not Found)Understand this error
content_script.js:6257 [Report Only] Refused to create a TrustedTypePolicy named 'sanitizer' because it violates the following Content Security Policy directive: "trusted-types wise-cdn". BootViewDS.js:7 [Report Only] This document requires 'TrustedHTML' assignment. Me.htm:1 true Me.htm:1 Storage access: true BootViewDS.js:7 [Report Only] This document requires 'TrustedHTML' assignment. BootViewDS.js:7 [Report Only] This document requires 'TrustedHTML' assignment.
主要错误分析
- ViewPreview is not defined 错误
- 原因:Office Online Viewer的JavaScript代码尝试调用未定义的ViewPreview函数
- 影响:可能导致PPT预览功能无法正常工作
- Trusted Types相关错误
如This document requires 'TrustedScriptURL' assignment等
- 原因:Office Online Viewer使用了现代浏览器的安全策略Trusted Types,但页面中没有正确配置
- 字体资源404错误
如segoeui.woff和segoeui.ttf加载失败
- 原因:Office Online Viewer尝试加载特定字体但找不到资源
- appChrome is not defined 错误
- 原因:Office Online Viewer的初始化代码中引用了未定义的对象