为什么本地打开的HTML用不了OPFS,却能用IndexedDB?
When opening local HTML files using the file:// protocol, OPFS may not work but IndexedDB does. This is due to browser security models and API design. To use OPFS, start a local static server and access the page via http://localhost:port, which meets the security context requirements.