TypeError: Cannot read property 'ajax' of undefined
程序员文章站
2022-06-07 13:12:44
...
写前端代码的时候报错TypeError: Cannot read property ‘ajax’ of undefined 后台没有报错
别的页面代码可以运行没错,不知道哪里漏掉了还是写错了,死活加载不了
// 刷新列表页面
ticketGrid.ajax.reload(null,false);
后来在这句代码加了jQuery之后解决了但还是不知道什么鬼,
// 刷新列表页面
ticketGrid.jQuery.ajax.reload(null,false);
上一篇: Cannot read property 'createChildCompiler' of undefined
下一篇: 使用Element-UI的DateTimePicker组件报错:Cannot read property 'getHours' of undefined
推荐阅读
-
Vue报错:Uncaught TypeError: Cannot assign to read only property’exports‘ of object
-
npm ERR! Cannot read property 'path' of null
-
js报错 Cannot read property 'getAttribute' of null
-
[VUE ERROR] Error in render: "TypeError: Cannot create property 'header' on boolean 'true'"
-
微信小程序报Cannot read property 'setData' of undefined的错误
-
webpack报错Cannot read property 'presetToOptions' of undefined
-
Extjs4---Uncaught TypeError: Cannot read property ‘items’ of undefined
-
JavaScript Uncaught TypeError: Cannot read property 'value' of null
-
Cannot read property 'tap' of undefined
-
Vue报错:Uncaught TypeError: Cannot assign to read only property’exports‘ of object’#