gpt4 book ai didi

javascript - 未捕获的 TypeError : ref. putString 不是函数

转载 作者:行者123 更新时间:2023-11-30 00:02:30 24 4
gpt4 key购买 nike

var storageRef = firebase.storage().ref();
var ref = storageRef.child('nothing.txt');
ref.putString('nothing');

这是我的代码。 put() 函数没有任何问题,但 putString() 在浏览器上给出错误:

Uncaught TypeError: ref.putString is not a function

最佳答案

为了后代:putString() 已根据 changelog 在 3.3.0 中实现.

关于javascript - 未捕获的 TypeError : ref. putString 不是函数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39874604/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com