<template>
  <view class="login">
    <en-loading></en-loading>
  </view>
</template>
<script>
  import EnLoading from "../../components/en-utils/en-loading/en-loading";
  import bitkeepTron from "../../common/wallet/bitkeep-wallet/bitkeep-tron";
  import tools from "../../common/js/tools";
  export default {
    components: {
      EnLoading

    },
    data() {
      return {

      }
    },
    onLoad(query) {
      this.getAccount()
    },
    mounted() {

    },
    methods: {
      getAccount(){
        bitkeepTron.getAccounts().then((Address)=>{
          if(Address){
            console.log('Address:'+Address)

          }else {
            tools.toError('信息获取失败！')
          }

        }).catch((e)=>{
          tools.toError('信息获取失败！')
        })
      }
    },
  }
</script>
<style lang="scss" scoped>
@import url("/static/css/icon-common.css") ;
</style>
