|
@@ -169,14 +169,14 @@ const connectWallet = async () => {
|
|
let mainTx = ref('-')
|
|
let mainTx = ref('-')
|
|
const getMainTx = () => {
|
|
const getMainTx = () => {
|
|
getZksEra(addressStore.address).then(({tx2}:{tx2:number}) => {
|
|
getZksEra(addressStore.address).then(({tx2}:{tx2:number}) => {
|
|
- mainTx.value = tx2
|
|
|
|
|
|
+ mainTx.value = tx2.toString()
|
|
})
|
|
})
|
|
}
|
|
}
|
|
//获取lite网交易次数
|
|
//获取lite网交易次数
|
|
let liteTx = ref('-')
|
|
let liteTx = ref('-')
|
|
const getLiteTx = () => {
|
|
const getLiteTx = () => {
|
|
getZksLite(addressStore.address).then(({tx1}:{tx1:number}) => {
|
|
getZksLite(addressStore.address).then(({tx1}:{tx1:number}) => {
|
|
- liteTx.value = tx1
|
|
|
|
|
|
+ liteTx.value = tx1.toString()
|
|
})
|
|
})
|
|
}
|
|
}
|
|
//获取更多信息
|
|
//获取更多信息
|
|
@@ -207,7 +207,7 @@ const getMoreInfo = () => {
|
|
// l2Tol1Tx.value = l2Tol1Times
|
|
// l2Tol1Tx.value = l2Tol1Times
|
|
// processTime()
|
|
// processTime()
|
|
// })
|
|
// })
|
|
- getAllZksSyncData(addressStore.address).then(res=>{
|
|
|
|
|
|
+ getAllZksSyncData(addressStore.address).then((res:any)=>{
|
|
amount.value = res.totalExchangeAmount
|
|
amount.value = res.totalExchangeAmount
|
|
contract.value = res.contractActivity
|
|
contract.value = res.contractActivity
|
|
tradingTimeArr.value = res.overTimeArr
|
|
tradingTimeArr.value = res.overTimeArr
|