uGoodiwell

Results 5 comments of uGoodiwell

![图片](https://user-images.githubusercontent.com/48555752/117971941-188a9d80-b35d-11eb-82fe-700c789f78b5.png) 我调了返回格式,还是不行

调整了后端返回得数据结构, 现在报错 ret is undefined #浏览器错误 ![图片](https://user-images.githubusercontent.com/48555752/118119509-08d48d00-b421-11eb-96c4-37bd2c418044.png) # main中代码 ![图片](https://user-images.githubusercontent.com/48555752/118119570-24d82e80-b421-11eb-8d90-02a6d5d33c37.png) 请求代码 ![图片](https://user-images.githubusercontent.com/48555752/118119616-37526800-b421-11eb-8b7e-2eb1c3138cc5.png)

# 返回的数据格式 ![图片](https://user-images.githubusercontent.com/48555752/118119674-5650fa00-b421-11eb-9d0f-b74c7a25b9b9.png)

我添加了return ![图片](https://user-images.githubusercontent.com/48555752/118213116-e2096b80-b49f-11eb-8b65-f6d87a626cba.png) 现在浏览器报[Vue warn]: Invalid prop: type check failed for prop "data". Expected Array, got Undefined 这是我得mian.js ![图片](https://user-images.githubusercontent.com/48555752/118213073-d28a2280-b49f-11eb-862e-897228a3ac3e.png) 这是浏览器控制台 ![图片](https://user-images.githubusercontent.com/48555752/118213046-c2724300-b49f-11eb-8a85-3a88bbf107f0.png)

我的前端框架是dvadmin, 这是index.vue ![图片](https://user-images.githubusercontent.com/48555752/118220662-c9548200-b4ae-11eb-8759-2a1c80721b2b.png) 这是crud.js ![图片](https://user-images.githubusercontent.com/48555752/118220861-3700ae00-b4af-11eb-93de-49ebc13d23c3.png) api.js 用的原生axios ![图片](https://user-images.githubusercontent.com/48555752/118220922-4ed83200-b4af-11eb-8faf-3f378059e1e9.png) 返回的数据结构 ![图片](https://user-images.githubusercontent.com/48555752/118221117-9b237200-b4af-11eb-9509-2b2d55c0dae3.png)