为什么我的list1报错为未定义?

小程序 文章 2021-04-02 10:02 395 0 全屏看文

AI助手支持GPT4.0

为什么我的list1报错为未定义?Why does my list1 report an error as undefined?

为什么我的list1报错为未定义?

我定义了两个空数组 list 和list1,然后定义了两个几乎相同的方法分别调用两个数据表并赋值给他们并调用显示到页面,两个数据表成功调用,第一个也成功显示,但是为什么list1显示未定义?有知道的大佬给看一下吗

I defined two empty arrays list and LIST1, and then defined two almost identical methods to call two data tables, assign values to them, and call to display them on the page. The two data tables are successfully called, and the first one is also successfully displayed. But why is LIST1 display undefined? Do you have anyone who knows

回答:

黑夜白昼:

第 75 行,错误提示信息里有提到 75行

Mr.Zhao:this.data.list1
我是洪锦文呀:

-EOF-

AI助手支持GPT4.0