forked from UzTech/Vue3-typescript-demo
第一版本
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
import Chain33Rpc from '@33cn/chain33-rpc-api'
|
||||
|
||||
export default new Chain33Rpc('https://explorer.lianshang.vip/api', null)
|
||||
export default new Chain33Rpc(process.env.VUE_APP_BLOCK_URL, null)
|
||||
|
||||
@@ -141,6 +141,7 @@ const getBlockList = () => {
|
||||
getTradeList()
|
||||
}).finally(() => {
|
||||
blockLoading.value = false
|
||||
tradeLoading.value = false
|
||||
})
|
||||
}
|
||||
|
||||
@@ -157,7 +158,6 @@ async function getTradeList () {
|
||||
}
|
||||
|
||||
block.getTxByHashes(txHashes).then(res => {
|
||||
console.log(res.result.txs)
|
||||
tradeList.value = res.result.txs
|
||||
}).finally(() => {
|
||||
tradeLoading.value = false
|
||||
|
||||
Reference in New Issue
Block a user