Jelajahi Sumber

Merge branch 'master' of http://192.168.3.207:10080/jianyu/jy-docs

zhangyuhan 4 tahun lalu
induk
melakukan
79d142f3e8
1 mengubah file dengan 1 tambahan dan 4 penghapusan
  1. 1 4
      jydocs-mobile/src/views/purchase/purchase.vue

+ 1 - 4
jydocs-mobile/src/views/purchase/purchase.vue

@@ -169,15 +169,13 @@ export default class extends Vue {
   // 文档信息
   // 文档信息
   async getWordInfor () {
   async getWordInfor () {
     this.getDetails({ docId: this.sessioninfor.query }).then((res: any) => {
     this.getDetails({ docId: this.sessioninfor.query }).then((res: any) => {
-      console.log(res)
       const item = res.data.detail
       const item = res.data.detail
       if (res.error_code === 0) {
       if (res.error_code === 0) {
-        this.response = item
+        Object.assign(this.response, item)
       }
       }
     })
     })
 
 
     this.getListDetail({ B: true }).then((res: any) => {
     this.getListDetail({ B: true }).then((res: any) => {
-      console.log(res)
       if (res.error_code === 0) {
       if (res.error_code === 0) {
         this.response.balance = res.data.points.balance
         this.response.balance = res.data.points.balance
       }
       }
@@ -185,7 +183,6 @@ export default class extends Vue {
 
 
     // 获取绑定的手机号
     // 获取绑定的手机号
     this.getAccountInfo().then((res: any) => {
     this.getAccountInfo().then((res: any) => {
-      console.log(res)
       this.tel = res.data.phone
       this.tel = res.data.phone
     })
     })
   }
   }