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