cuiyalong 4 ani în urmă
părinte
comite
a94583e340
1 a modificat fișierele cu 1 adăugiri și 4 ștergeri
  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 () {
     this.getDetails({ docId: this.sessioninfor.query }).then((res: any) => {
-      console.log(res)
       const item = res.data.detail
       if (res.error_code === 0) {
-        this.response = item
+        Object.assign(this.response, item)
       }
     })
 
     this.getListDetail({ B: true }).then((res: any) => {
-      console.log(res)
       if (res.error_code === 0) {
         this.response.balance = res.data.points.balance
       }
@@ -185,7 +183,6 @@ export default class extends Vue {
 
     // 获取绑定的手机号
     this.getAccountInfo().then((res: any) => {
-      console.log(res)
       this.tel = res.data.phone
     })
   }