xiaomei 10 달 전
부모
커밋
02ed4b7eb0
1개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  1. 13 0
      src/views/mine/teaRights.vue

+ 13 - 0
src/views/mine/teaRights.vue

@@ -215,6 +215,7 @@ export default {
   },
   mounted() {
     this.getUserInfo();
+    this.actionGet();
     this.getNftList();
   },
   methods: {
@@ -362,6 +363,18 @@ export default {
         }
       });
     },
+    actionGet() {
+      homeApi.assets().then(res => {
+        if (res.code == 200) {
+          this.assets = res.data.assets;
+          this.transfes_txt = res.data.transfes_txt;
+          this.transfes_fee = res.data.transfes_fee;
+          this.giveaway = res.data.giveaway;
+          this.giveaway_txt = res.data.giveaway_txt;
+          this.coinList = res.data.coin_list;
+        }
+      });
+    },
     noopen() {
       this.$toast(this.$t('lang2'));
     },