关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
lacrimarrum
2018-04-20 02:40
采纳率: 0%
浏览 1289
首页
前端
已采纳
JS报错 Cannot read property 'putId' of null
html5
前端
jquery
javascript
明明接收的有值 为什么会报null
收起
写回答
好问题
0
提建议
关注问题
微信扫一扫
点击复制链接
分享
邀请回答
编辑
收藏
删除
结题
收藏
举报
4
条回答
默认
最新
关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
fuweihua123
2018-04-20 02:44
关注
是不是有些数据的返回的id为null,你在第一行alert一下data
本回答被题主选为最佳回答
, 对您是否有帮助呢?
本回答被专家选为最佳回答
, 对您是否有帮助呢?
本回答被题主和专家选为最佳回答
, 对您是否有帮助呢?
解决
无用
评论
打赏
微信扫一扫
点击复制链接
分享
举报
评论
按下Enter换行,Ctrl+Enter发表内容
查看更多回答(3条)
向“C知道”追问
报告相同问题?
提交
关注问题
uniapp
报错
Cannot
read
property
‘dataset‘ of
null
2025-06-24 10:03
Mxhlin的博客
如果你引入的组件在uniapp分包路径中,就会
报错
。
关于
js
报错
Cannot
read
property
innerHTML of
null
和关于Cannot set
property
‘innerHTML’ of
null
错误原因
2021-04-07 19:20
ZZhXuan的博客
解决关于
js
报错
Cannot
read
property
innerHTML of
null
1、相信很多同学在开发过程中都会遇到 Cannot
read
property
‘innerHTML’ of
null
——这个
报错
的字面含义是:不能读取空的内部HTML。 2、实际上,在页面...
Vue打包Cannot
read
property
'tapPromise' of undefined
报错
处理.docx
2022-01-21 09:29
然而,在使用Vue.
js
时,我们可能会遇到一些
报错
信息,例如Cannot
read
property
'tapPromise' of undefined。这是一种TypeError,发生在webpack编译过程中。下面我们将详细介绍这个
报错
信息的解决方法。 一、
报错
...
ucharts使用
报错
:Cannot
read
property
‘w
id
th‘ of
null
2025-04-16 16:55
weixin_47509784的博客
使用ucharts展示柱状图,在h5上可以展示,在微信开发者工具上就会
报错
:Cannot
read
property
‘w
id
th’ of
null
,是什么问题呢 在ucharts社区里找到的答案: 在qiun-data-charts.vue文件里面加个空view标签 ....
关于
JS
报错
:Cannot
read
property
‘getAttribute‘ of
null
问题
2024-05-16 11:51
2401_84152308的博客
因此收集整理了一份《2024年Web
前端
开发全套学习资料》,初衷也很简单,就是希望能够帮助到想自学提升又不知道该从何学起的朋友,同时减轻大家的负担。既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴...
layer.
js
报错
cannot
read
property
'XXX' of
null
2018-12-17 10:56
认真编程的程序猿的博客
如上图所示,
前端
页面引用了layer的相关内容。经最后排查问题是本人进行引用的时候数据为空导致的! ...cannot
read
property
'parents' of
null
综上 只需在引用相关函数的时候保证内容不为...
报错
Cannot
read
property
delayMs of
null
;【Bug已解决-鸿蒙应用开发】
2023-12-15 14:32
一键难忘的博客
报错
Cannot
read
property
delayMs of
null
;【Bug已解决-鸿蒙应用开发】 应用开发时
报错
: >Cannot
read
property
delayMs of
null
; 分析一下是什么错误原因导致的?下文详细描述 相关问题: >应用开发时,写 UI ...
【
前端
可视化】ECharts
报错
:Cannot
read
property
getAttribute of
null
报错
2020-07-20 10:24
努力挣钱的小鑫的博客
由于把echarts放到页面的一个弹出框组件中,故在页面初始化的过程中,charts这时候不在页面节点中,就会导致这一问题,所以只需简单的添加this.$nextTick(function(){})函数,将图表初始化放到这个函数中就能解决...
鸿蒙开发已解决-
报错
Cannot
read
property
delayMs of
null
;
2024-01-11 10:30
一键难忘的博客
文章目录 项目场景: 问题描述 原因分析: 解决方案: 此Bug解决方案总结 附录-相关知识 鸿蒙应用开发 优势 鸿蒙操作系统应用场景 项目场景: 应用开发时
报错
: Cannot
read
property
delayMs of
null
; 分析一下是...
【Bug日记】Element-UI级联选择器el-cascader
报错
Cannot
read
property
level of
null
2020-06-20 16:14
mingyong.g的博客
【Bug日记】 Element-UI级联选择器el-cascader
报错
Cannot
read
property
level of
null
????问题描述 使用element-ui 级联选择器el-cascader,其数据源options需要根据用户操作&m
id
dot;动态切换&m
id
dot;,此时若没有进行级联选择...
安装jest
报错
:Cannot
read
property
bindings of
null
2022-03-16 10:33
柒个M的博客
在webpack 4.2以上使用 npm install -D babel-loader @babel/core @babel/preset-env 重新安装后,再更改老的配置 修改“env”为“@babel/preset-env”。
vue flv播放器
报错
Cannot
read
property
‘addEventListener‘ of
null
2022-01-15 18:01
STARSHOME火星的博客
业务场景:flv播放器,有创建dom和删除dom的操作,导致
报错
Cannot
read
property
‘addEventListener’ of
null
原因是在动态切换播放链接时,flv组件是先删除了当前播放容器,再创建新的播放容器,新容器还未创建时...
js
页面
报错
Cannot
read
property
length of
null
2018-10-16 10:54
请问你是水呢的博客
百度后说是后台的错误,然后就debug, 果然是,查询的结果为
null
, 但是页面传参需要
js
on格式,所以就
报错
。 找问题所在就一步一步找,最后发现是mapper.xml出错,检验sql语句没错,最后发现是返回值的类型写错了。 ...
uniapp 运行到 app
报错
Cannot
read
property
‘nodeName‘ of
null
2023-10-12 10:55
给钱,谢谢!的博客
经排查,是这边的数据没有就渲染了,导致
报错
,加上标记判断就行了,不能直接写state.fixedIcon;uniapp 运行到某一个页面,
报错
,h5没有问题。
vue
报错
Cannot
read
property
editCateObject of
null
2020-06-03 14:15
MrChkk的博客
vue
报错
: Cannot
read
property
‘editCateObject’ of
null
下面展示 template部分代码和javaScript部分代码。 <template> <div> <el-button type="primary" @click="editCate(this....
qiun-data-charts
报错
Cannot
read
property
‘w
id
th‘ of
null
2023-11-28 19:49
进阶的巨人001的博客
一句话去掉属性
id
即可。
vue
报错
cannot
read
property
‘forEach‘ of
null
2021-07-20 19:39
王女士还是青年的博客
vue
报错
“cannot
read
property
‘forEach’ of
null
” 是因为后台给我返的是
null
,而我需要的是一个数组 解决方法: 做了个三元表达式判断,如果res.content ===
null
? [] : res.content
nuxt初始化
报错
Cannot
read
property
name of undefined
2023-03-18 14:57
小宛碎碎冰的博客
nuxt初始化
报错
Cannot
read
property
name of undefined解决方案
echarts
报错
Cannot
read
properties of
null
(
read
ing ‘getAttribute‘)
2025-03-20 14:25
Liu.774的博客
【代码】echarts
报错
Cannot
read
properties of
null
(
read
ing ‘getAttribute‘)
没有解决我的问题,
去提问
向专家提问
向AI提问
付费问答(悬赏)服务下线公告
◇ 用户帮助中心
◇ 新手如何提问
◇ 奖惩公告