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