TypeScript: Cannot read property 'push' of undefined in [null]

后端 未结 3 1547
别跟我提以往
别跟我提以往 2020-12-28 13:58

Error: Cannot read property \'push\' of undefined in [null].

class A implements OnInit {
    stringArr: string[];

         


        
3条回答
提交回复
热议问题