最近,它的 Web Dev 工具中的 Firefox 存储选项卡对我来说无法正常工作。当 localStorage 发生变化时,选项卡中显示的数据不会更新,即使我刷新页面也不会更新。为了让它工作,我必须关闭 Web Dev 工具,然后重新打开它。
我尝试使用没有插件的全新安装的 Firefox,尝试了 Linux 和 Windows,在虚拟机中尝试过,但仍然无法工作,所以我猜这一定是由于最近的一些更新。
要重现问题:
其他人还有相同的疑问么?很高兴有人能帮忙。
当我尝试读取 Firebase 存储数据时,出现以下错误:
Uncaught (in promise) FirebaseError: Firebase Storage: An unknown error occurred, please check the error payload for server response. (storage/unknown)
{
"error": {
"code": 400,
"message": "Permission denied. Please enable Firebase Storage for your bucket by visiting the Storage tab in the Firebase Console and ensure that you have sufficient permission to properly provision resources."
}
}
Run Code Online (Sandbox Code Playgroud)
但我的规则是公开的:
rules_version = '2';
service firebase.storage {
match /b/{bucket}/o {
match /{allPaths=**} {
allow read, write;
}
}
}
Run Code Online (Sandbox Code Playgroud)
我缺少什么?这是我的代码:
export …Run Code Online (Sandbox Code Playgroud) 使用 React 时,我的 VSCode 不会自动完成图像路径。文件夹和 .js 文件工作正常。我尝试使用一些扩展,但现在文件夹/js 文件是重复的。