improve ui
This commit is contained in:
parent
6f7fcece61
commit
d6f9f68eee
@ -70,8 +70,8 @@
|
||||
<h4 class="font-weight-bolder mb-0">
|
||||
{{ item.title || '-' }}
|
||||
</h4>
|
||||
<b-card-text class="font-small-3 mb-1">
|
||||
{{ item.subtitle }}
|
||||
<b-card-text class="font-small-3 mb-1 text-capitalize">
|
||||
{{ formatText(item.subtitle) }}
|
||||
</b-card-text>
|
||||
</b-media-body>
|
||||
</b-media>
|
||||
@ -112,5 +112,8 @@ export default {
|
||||
default: () => {},
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
formatText: v => String(v).replaceAll('_', ' '),
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
@ -108,7 +108,6 @@ export default {
|
||||
},
|
||||
beforeRouteUpdate(to, from, next) {
|
||||
const { hash } = to.params
|
||||
console.log(hash !== from.params.hash, hash, from.params)
|
||||
if (hash !== from.params.hash) {
|
||||
this.$http.getTxs(hash).then(res => {
|
||||
this.tx = res
|
||||
|
Loading…
Reference in New Issue
Block a user