Uncaught (in promise) TypeError: data.slice is not a function
来源:6-6 前后端分页功能整合

慕粉1543349145
2021-04-28
Uncaught (in promise) TypeError: data.slice is not a function
at Proxy.getLocalData (webpack-internal:///./node_modules/ant-design-vue/es/table/Table.js:504)
at Proxy.getCurrentPageData (webpack-internal:///./node_modules/ant-design-vue/es/table/Table.js:463)
at Proxy.render (webpack-internal:///./node_modules/ant-design-vue/es/table/Table.js:1380)
at renderComponentRoot (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:965)
at componentEffect (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4461)
at Object.reactiveEffect [as update] (webpack-internal:///./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js:71)
at updateComponent (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4353)
at processComponent (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4288)
at patch (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:3902)
at componentEffect (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:4470)
访问网页,后端sql数据能正常访问,打开控制台出现以上错误,请问是哪里有问题?
2回答
-
慕前端8419733
2021-10-03
我也是,咋解决的???
00 -
甲蛙
2021-04-29
这个问题好了吗?从这个日志看不出来。
可以看下代码在哪里写了data.slice,把data打印出来看是什么
00
相似问题