本来一次性提交表单呢是用formData的 export function apiRequest(data) { return request({ url: request_address, method: 'post', data: data }) } const form = new formData() form.append(file, file) form.append(key1, value1) form.append(key2, value2) apiRequest(form).then(res => {......
本来一次性提交表单呢是用formData的 export function apiRequest(data) { return request({ url: request_address, method: 'post', data: data }) } const form = new formData() form.append(file, file) form.append(key1, value1) form.append(key2, value2) apiRequest(form).then(res => {......
本来一次性提交表单呢是用formData的 export function apiRequest(data) { return request({ url: request_address, method: 'post', data: data }) } const form = new formData() form.append(file, file) form.append(key1, value1) form.append(key2, value2) apiRequest(form).then(res => {......
本来一次性提交表单呢是用formData的 export function apiRequest(data) { return request({ url: request_address, method: 'post', data: data }) } const form = new formData() form.append(file, file) form.append(key1, value1) form.append(key2, value2) apiRequest(form).then(res => {......