当前位置:首页|资讯

tauri加载本地资源展示到前端页面报错because it appears in neither the directive nor the default-src direc

作者:1024小神发布时间:2024-09-27

这个错误是因为你的 Tauri 应用的 内容安全策略(Content Security Policy, CSP)限制了从 asset://localhost 加载本地资源,尤其是图片文件。要解决这个问...【查看原文】


Copyright © 2024 aigcdaily.cn  北京智识时代科技有限公司  版权所有  京ICP备2023006237号-1