我正在构建一个模拟从数据库请求/接收数据的结构的演示。输出应该只是返回数组的控制台日志。我收到消息Uncaught TypeError: func_get_db_data is not a function 我看到了这个问题TypeError: # is not a function 但这个答案对我来说有点太具体了let func_get_db_data = new Promise((resolve, reject) =&g
item.children, estatus); return item; return $children;
}, 这是一个简单的函数递归,我只是得到了状态为‘true’的所有项(父项和子项),但我遇到了这个错误: Uncaught (in promise) TypeError: this.getChildrem is not a function
我正在尝试使用localStorage,但收到错误Uncaught (in promise) TypeError: existingData.push is not a function 我需要帮助。localStorage.setItem("weather Info", JSON.stringify(existingData))
console.log(existingData) 我看不出其中的错误