未捕获的TypeError:ref.putString不是函数 [英] Uncaught TypeError: ref.putString is not a function
本文介绍了未捕获的TypeError:ref.putString不是函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
var storageRef = firebase.storage().ref();
var ref = storageRef.child('nothing.txt');
ref.putString('nothing');
这是我的代码. put()函数可以正常工作,但是putString()在浏览器上显示错误:
This is my code. put() function works without any problem but putString() gives an error on the browser:
Uncaught TypeError: ref.putString is not a function
推荐答案
对于后代:根据 查看全文