修正载入mynft页面时, 没有继续获取状态的bug
This commit is contained in:
parent
0bf87935fc
commit
6f78409b25
@ -223,7 +223,7 @@ export default class ChainManager {
|
|||||||
.activateOne(nftOld, nftNew, nftType, nonce, signature)
|
.activateOne(nftOld, nftNew, nftType, nonce, signature)
|
||||||
.estimateGas({ gas: 1000000 })
|
.estimateGas({ gas: 1000000 })
|
||||||
console.log('nftProxyInstance activateOne need gas: ', gas)
|
console.log('nftProxyInstance activateOne need gas: ', gas)
|
||||||
return nftProxyInstance.methods.activateOne(nftOld, nftNew, nftType, nonce, signature).send({ gas: gas * 1.1 })
|
return nftProxyInstance.methods.activateOne(nftOld, nftNew, nftType, nonce, signature).send({ gas: (gas * 1.1) | 0 })
|
||||||
}
|
}
|
||||||
|
|
||||||
public async transferToAccount({ to, amount, chainId, address } : {
|
public async transferToAccount({ to, amount, chainId, address } : {
|
||||||
|
@ -125,6 +125,7 @@ export default class MyNft extends Vue {
|
|||||||
console.log('account change: ', AppModule.accountId)
|
console.log('account change: ', AppModule.accountId)
|
||||||
if (this.accountId) {
|
if (this.accountId) {
|
||||||
this.fetchDatas(this.currentPage)
|
this.fetchDatas(this.currentPage)
|
||||||
|
this.checkOrderHistory()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user