腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
react
,
无法
读取
未定义
的
属性
'
filter
‘
、
代码(有效
的
代码): const member = [ "key": 14, "name": "test3",console.log(print); code2 (我想让它工作
的
代码): const originData = this.props.results; con
浏览 33
提问于2020-09-08
得票数 0
2
回答
错误
无法
读取
未定义
的
属性
(
读取
“配置”)。TypeError:
无法
读取
未定义
的
属性
(
读取
“配置”)
、
、
、
、
我在我
的
react
本机项目中安装了@
react
-native-community/cli-platform-android,现在我得到
的
是"error不能
读取
未定义
的
属性
(
读取
“配置”)。TypeError:
无法
读取
运行npm run android
的
未定义
属性
(
读取
“配置”)。
浏览 8
提问于2022-06-02
得票数 2
1
回答
组件上
的
数据网格过滤器
、
、
我正在尝试创建一个名为table
的
组件,以便重用它。我传递行,列将父
属性
抛出。一切正常--它显示行和列,它显示过滤器,但是当我在过滤器上输入一些值时。它给了我这个错误: 如何在
re
浏览 3
提问于2017-03-14
得票数 2
1
回答
如何访问web3作用域之外
的
函数?
、
、
我正在构建一个
react
-web3应用程序。 this.setState({result: result}) }TypeError:
无法
读取
未定义
的
属性
“”setState“” 我可以使用
filter
方法(web3.eth.
filter
())轻松完成此操
浏览 0
提问于2018-01-22
得票数 0
2
回答
React
无法
读取
未定义
的
属性
使用propTypes验证道具会出现以下错误: TypeError:
无法
读取
未定义
的
属性
“func”。所讨论
的
代码位于代码段
的
底部:import ProjectItem from './Proje
浏览 2
提问于2017-10-14
得票数 13
2
回答
TypeError:
无法
读取
未定义
的
属性
“string”;安装硼库
、
我安装了库,但有错误:push../node_modules/boron/modalFactory.js.module.exports :
无法
读取
未定义
的
C:/Users/m/Desktop/chrome-extension/node_modules/boron/modalF
浏览 3
提问于2019-10-21
得票数 0
2
回答
使用过滤器
的
挑战
、
我正在开发一个
react
应用程序,它是一个联系人经理,在布拉德·特拉弗斯教授
的
一门课程中,试图使用过滤器数组方法删除配置文件,但它根本不起作用,告诉我不能
读取
过滤器
的
属性
。import
React
, { Component } from '
react
' const { contacts } = this.state; //
浏览 0
提问于2019-07-29
得票数 1
回答已采纳
1
回答
如何解决离子框架中
的
类型误差
、
、
、
如何解决此错误: this.WooCommerce.getAsync
filter
[category]=" + this.category.slug).then((data)
浏览 1
提问于2018-10-15
得票数 1
6
回答
使用
React
时
的
TypeError :
无法
读取
未定义
的
属性
“firstChild”
、
、
有时,当使用
React
库(如 )时,我会得到以下错误: /~/
react
-router/~/
react
/lib/ReactMount.js
浏览 10
提问于2014-11-26
得票数 28
回答已采纳
2
回答
React
TypeError:
无法
读取
未定义
的
属性
“懒惰”
、
我遵循来为现有的
React
启用TypeScript。启动应用程序时,会出现以下错误:TypeError: Cannot read property 'lazy' of undefined import
React
, { Sus
浏览 5
提问于2020-04-01
得票数 0
1
回答
使用“
react
test-renderer”-
无法
读取
未定义
的
属性
“hasOwnProperty”时出错
、
、
、
我试图在我
的
react
应用程序中实现Jest,但是当我导入
react
-test-renderer时,我得到了错误消息: TypeError:
无法
读取
未定义
的
属性
'hasOwnProperty‘。我
的
App.test.jsx文件中唯一
的
一行是: import TestRenderer from '
react
-test-renderer'; // ES6
浏览 3
提问于2019-12-20
得票数 3
1
回答
使用
react
中
的
任何外部库时,
无法
读取
未定义
的
属性
“string”
、
因此,我使用了几个外部库来响应,比如
react
-markdown、
react
-bootstrap。 at Object._tickCallback (internal/process/next_
浏览 4
提问于2017-05-22
得票数 0
1
回答
作为参数传递
的
useRef
的
模拟返回值
、
、
我有以下函数,它以
React
.useRef()作为参数。当我运行测试时,我会得到以下错误。TypeError: useRef.current.removeChild不是一个函数 这就是实现。child.value) {
浏览 7
提问于2021-11-10
得票数 1
1
回答
按承诺获取构造函数变量
、
、
、
我
无法
使用javascript和
react
在获取调用中获得构造函数变量。我希望this.state.numXLabels
的
值在.then(函数(Json)回调中),但是我得到了TypeError:
无法
读取
未定义
(…)
的
属性
‘状态’。怎样才是正确
的
方法呢?以下是相关代码:import <em
浏览 4
提问于2016-04-23
得票数 2
回答已采纳
1
回答
使用
react
路由器在div中呈现组件
、
、
我正在做一个新
的
项目,我对此反应很新。我们正在使用打字本(TSX)。到目前为止,我有一个带有id为“root”
的
div
的
index.html文件。我有一个main.tsx文件,我相信这是我
的
主要组件。from '
react
';import { Router, Route, IndexRoute, browserHistory文件,以便它出现在我
的
根div中。
浏览 3
提问于2016-04-18
得票数 1
回答已采纳
1
回答
如何从导入
的
子组件(导航组件)中使用app
的
导航?
无法
读取
属性
导航是
未定义
的
。App.jsimport { ActivityIndicator, StyleSheet, Text, View } from '
react
-native/App/Components/Navigation'; import OneSignal from '
react
-na
浏览 1
提问于2019-09-16
得票数 0
1
回答
打字本反应不正确
、
我有以下打字本:import ReactDOM from '
react
-dom' return (_1 = require("
react
");const App = () => { return (
浏览 8
提问于2017-06-14
得票数 4
回答已采纳
1
回答
反应0.13.1渲染问题
、
我有一个非常简单
的
设置,
无法
使用Reactive0.13.1运行: return( )})
React
.createElement(
React
.createFactory(TheApp)), doc
浏览 1
提问于2015-04-12
得票数 2
回答已采纳
1
回答
测试简单
的
反应函数
、
、
我正在构建一个简单
的
React
应用程序,并尝试测试在组件中执行某些逻辑
的
一些功能。我有柏树测试,但我现在试着用玩笑。favourite(item) { item.
filter
(v => v===a).length- item.
filter
(v => v===b).length} 我
浏览 2
提问于2019-09-25
得票数 1
2
回答
如何利用角度在for循环中使用正确
的
滤波器
、
、
、
dataname[i] Our Values this.CrewChannelContents_category = this.CrewChannelContents.
filter
:
无法
读取
未定义
TypeError
的
属性
“toLowerCase”:
无法
读取
未定义
的
属性
“toLowerCase” 来自this.CrewChannelContents
的
数
浏览 4
提问于2021-04-27
得票数 0
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
腾讯会议
云直播
对象存储
活动推荐
运营活动
广告
关闭
领券