Commit a947e5d0 authored by xulili's avatar xulili

专属客服加userId

parent 7166fd91
...@@ -42,7 +42,10 @@ export default { ...@@ -42,7 +42,10 @@ export default {
this.$router.push({ name: urlName }); this.$router.push({ name: urlName });
}, },
getCustomerData() { getCustomerData() {
getCustomer().then(res => { let params = {
userId:this.$userId
}
getCustomer(params).then(res => {
if (res.code === 0) { if (res.code === 0) {
this.imageUrl = process.env.VUE_APP_BASE_URL + res.data; this.imageUrl = process.env.VUE_APP_BASE_URL + res.data;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment