第一种请求方式:
let customer_id = localStorage.getItem('customer_id')
this.$http.post('/health_record/health_status_list.do',customer_id)使用这种方式从请求回来的数据是空的

第二种请求方式:
let param = new URLSearchParams();
param.append('customer_id', customer_id);
this.$http({
method: 'post',
url: '/health_record/health_status_list.do', data: param
})使用这种方式就有数据
Qyouu
随时随地看视频慕课网APP
相关分类