最近后端给了个这个参数,恕我孤陋寡闻看不懂,有哪位知道这参数在前端怎么展示的
type = ['dress', 'women]
把这个type传上去
raw方式代表就是json格式
const options = {
method: 'POST',
headers: { 'content-type': 'application/x-www-form-urlencoded' },
data: { type: ['dress', 'women'] }
url,
};
axios(options);
你好,请问解决了吗?我也遇到了同样的问题