Typeerror:无法读取未定义的属性'adatasort'如何解决 [英] Typeerror: cannot read property 'adatasort' of undefined how I can solve
本文介绍了Typeerror:无法读取未定义的属性'adatasort'如何解决的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
TypeError:无法读取属性'aDataSort'未定义如何解决
我尝试过:
TypeError:无法读取未定义的属性'aDataSort'如何解决
解决方案
您的代码将类似于
someObj.aDataSort
和someObj为null或未定义。我们不能说为什么我们看不到你的代码,但解决方案是修复你的代码,以便someObj有一个值,或者如果代码未定义则更改代码,无论你的需求是什么
TypeError: Cannot read property 'aDataSort' of undefined how i can solve
What I have tried:
TypeError: Cannot read property 'aDataSort' of undefined how i can solve
解决方案
Your code will be something like
someObj.aDataSort
and "someObj" is null or "undefined". We can't possibly say why that is given we can't see your code, but the solution is to fix your code so that "someObj" has a value, or change the code to work if it is undefined, whatever matches your needs.
这篇关于Typeerror:无法读取未定义的属性'adatasort'如何解决的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文