调通listing

This commit is contained in:
CounterFire2023 2024-06-24 13:36:10 +08:00
parent 14d8563995
commit 010550f13e
2 changed files with 5 additions and 3 deletions

View File

@ -49,14 +49,14 @@ const props = defineProps({
const buyDialogVisible = ref(false)
const buyDataArr = ref([])
const currency = import.meta.env.VUE_APP_MARKET_CURRENCY
// NFT
const sellNft = async (val) => {
const data = {
// import.meta.env.VUE_APP_PASSPORT_MARKET_ADDRESS
contractAddress: val.contract_address,
tokenId: val.token_id,
currencyAddress: val.owner_address,
currencyAddress: currency,
currencyAmount: '1000000000000000000'
}
// buyDataArr.value.push(val)

View File

@ -27,7 +27,9 @@ class LPassportWallet {
disableBlockedPopupOverlay: false, // Set to true to disable the blocked pop-up overlay
}
});
this.passportInstance.loginCallback();
this.passportInstance.loginCallback().then(()=>{}).catch(err=>{
console.log(err.message)
})
this.client = new orderbook.Orderbook({ baseConfig });
}
async initWidget() {