select组件如何配置post请求,并且配置参数?
lishaokun opened this issue · 1 comments
lishaokun commented
Question(提问)
Steps to reproduce(问题复现步骤)
Screenshot or Gif(截图或动态图)
Link to minimal reproduction(最小可在线还原 demo)
Other relevant information(格外信息)
- Vue version:
- f-render version:
- ElementUI version:
- vue-ele-form version:
dream2023 commented
如果不传body的话,直接 axios.post
传过去即可,如果传参数的话,写个方法:
methods: {
optionsFn(options) {
// 实际返回一个函数即可
return this.axios.post(options, { xxxx })
}
}