add connecting wallet

This commit is contained in:
liangping 2022-09-11 10:10:52 +08:00
parent c00fd6fe8c
commit 5264705e4e
2 changed files with 13 additions and 1 deletions

View File

@ -279,7 +279,10 @@
</b-card> </b-card>
</b-col> </b-col>
</b-row> </b-row>
<b-row class="mt-1"> <b-row
v-if="address"
class="mt-1"
>
<b-col cols="6"> <b-col cols="6">
<b-button <b-button
v-b-modal.operation-modal v-b-modal.operation-modal

View File

@ -15,6 +15,7 @@
/> />
</div> </div>
<b-button <b-button
v-if="fromAddress"
v-b-modal.operation-modal v-b-modal.operation-modal
block block
variant="success" variant="success"
@ -23,6 +24,14 @@
<feather-icon icon="SendIcon" /> <feather-icon icon="SendIcon" />
Go To Pay Go To Pay
</b-button> </b-button>
<b-button
v-else
block
class="mt-2"
variant="primary"
>
Connect Wallet
</b-button>
</b-card-body> </b-card-body>
</b-card> </b-card>
<operation-modal <operation-modal