Browse Source

im异常问题

wangdy 7 years ago
parent
commit
40678b9471
1 changed files with 2 additions and 2 deletions
  1. 2 2
      components/default/RightBar.vue

+ 2 - 2
components/default/RightBar.vue

@@ -203,7 +203,7 @@
               obj.type = 'LIST'
               if (!(/^1\d{10}$/).test(this.user.data.userTel)) {
                 this.$http.get('/basic/enterprise/' + obj.enUU + '/admin').then(response => {
-                  obj.userPhone = response.userTel
+                  obj.userPhone = response.data.userTel
                   this.openWebChat(newTab, obj)
                 }, err => {
                   console.log(err)
@@ -219,7 +219,7 @@
               obj.type = 'LIST'
               if (!(/^1\d{10}$/).test(this.user.data.userTel)) {
                 this.$http.get('/basic/enterprise/' + obj.enUU + '/admin').then(response => {
-                  obj.userPhone = response.userTel
+                  obj.userPhone = response.data.userTel
                   this.openWebChat(newTab, obj)
                 }, err => {
                   console.log(err)