
简介
该用户还未填写简介
擅长的技术栈
未填写擅长的技术栈
可提供的服务
暂无可提供的服务
axios发送post请求后端SpringBoot无法解析问题
使用axios发送post请求时,默认发送格式为json,所以后端必须使用@RequestBody来接收,并且自动封装为后端对象,但如果发送的post请求数据不值得封装为对象(如只发送分页数据page),便会显得冗余,此时可以将其封装为Map类型若想通过@RequestParam()来接收,前端发送的数据必须为表单提交类型的键值对,此时需要修改axios的默认配置headers为键值对类型axio
Vue组件报错For recursive components, make sure to provide the “name“ option.
在Vue的组件component学习中报错:[Vue warn]: Unknown custom element: <teen> - did you register the component correctly? For recursive components, make sure to provide the "name" option.试了半天,竟然是js代码位置问题!错误v

到底了







