本地预览index.html 报如下错误:
Access to script at 'file:///F:/source/uniappny/unpackage/dist/build/web/assets/index-CY6TY4Ub.js' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: chrome, chrome-extension, chrome-untrusted, data, http, https, isolated-app.
index-CY6TY4Ub.js:1
Failed to load resource: net::ERR_FAILED
index.html:1 Access to CSS stylesheet at 'file:///F:/source/uniappny/unpackage/dist/build/web/assets/index-CK66o_n0.css' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: chrome, chrome-extension, chrome-untrusted, data, http, https, isolated-app.
index-CK66o_n0.css:1
Failed to load resource: net::ERR_FAILED