update index

This commit is contained in:
liangping 2022-04-06 13:03:12 +08:00
parent 46057d913a
commit dd4869353a

View File

@ -14,7 +14,6 @@
<b-overlay <b-overlay
:show="!isOwner" :show="!isOwner"
rounded="sm" rounded="sm"
class="p-3"
> >
<template #overlay> <template #overlay>
<div <div
@ -330,7 +329,7 @@ export default {
}, },
methods: { methods: {
initialize() { initialize() {
if (this.selectedAddress) { if (this.isOwner && this.selectedAddress) {
this.$http.getLatestBlock().then(ret => { this.$http.getLatestBlock().then(ret => {
this.chainId = ret.block.header.chain_id this.chainId = ret.block.header.chain_id
const notSynced = timeIn(ret.block.header.time, 10, 'm') const notSynced = timeIn(ret.block.header.time, 10, 'm')