调通listing
This commit is contained in:
parent
14d8563995
commit
010550f13e
@ -49,14 +49,14 @@ const props = defineProps({
|
|||||||
|
|
||||||
const buyDialogVisible = ref(false)
|
const buyDialogVisible = ref(false)
|
||||||
const buyDataArr = ref([])
|
const buyDataArr = ref([])
|
||||||
|
const currency = import.meta.env.VUE_APP_MARKET_CURRENCY
|
||||||
// 出售NFT
|
// 出售NFT
|
||||||
const sellNft = async (val) => {
|
const sellNft = async (val) => {
|
||||||
const data = {
|
const data = {
|
||||||
// import.meta.env.VUE_APP_PASSPORT_MARKET_ADDRESS
|
// import.meta.env.VUE_APP_PASSPORT_MARKET_ADDRESS
|
||||||
contractAddress: val.contract_address,
|
contractAddress: val.contract_address,
|
||||||
tokenId: val.token_id,
|
tokenId: val.token_id,
|
||||||
currencyAddress: val.owner_address,
|
currencyAddress: currency,
|
||||||
currencyAmount: '1000000000000000000'
|
currencyAmount: '1000000000000000000'
|
||||||
}
|
}
|
||||||
// buyDataArr.value.push(val)
|
// buyDataArr.value.push(val)
|
||||||
|
@ -27,7 +27,9 @@ class LPassportWallet {
|
|||||||
disableBlockedPopupOverlay: false, // Set to true to disable the blocked pop-up overlay
|
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 });
|
this.client = new orderbook.Orderbook({ baseConfig });
|
||||||
}
|
}
|
||||||
async initWidget() {
|
async initWidget() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user