URLSearchParams和axios的post请求(防忘记)
摘要:
import axios from 'axios'Vue.prototype.axios = axios mounted () { let params = new URLSearchParams() params.append('id', this.$route.params.id) params.append('cid', this.$route.params.cid) ... 阅读全文
posted @ 2017-12-13 16:58 Chen_s 阅读(765) 评论(0) 推荐(0) 编辑