forked from LaconicNetwork/cosmos-explorer
Debug axios
This commit is contained in:
@@ -199,9 +199,6 @@ import {
|
||||
BRow, BCol, BCard, BCardTitle, BCardText, BCardBody, BCardFooter, BButton, BProgressBar, BProgress, BBadge, BTooltip,
|
||||
} from 'bootstrap-vue'
|
||||
import Ripple from 'vue-ripple-directive'
|
||||
import store from '@/store'
|
||||
|
||||
console.log(store.state.chains)
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
||||
+13
-1
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<b-card title="Create Awesome 🙌">
|
||||
<b-card-text>This is your second page. ]] {{ $t('staking') }} </b-card-text>
|
||||
<b-card-text>Chocolate sesame snaps pie carrot cake pastry pie lollipop muffin. Carrot cake dragée chupa chups jujubes. Macaroon liquorice cookie wafer tart marzipan bonbon. Gingerbread jelly-o dragée chocolate.</b-card-text>
|
||||
<b-card-text> {{ info }} Chocolate sesame snaps pie carrot cake pastry pie lollipop muffin. Carrot cake dragée chupa chups jujubes. Macaroon liquorice cookie wafer tart marzipan bonbon. Gingerbread jelly-o dragée chocolate.</b-card-text>
|
||||
</b-card>
|
||||
</template>
|
||||
|
||||
@@ -13,6 +13,18 @@ export default {
|
||||
BCard,
|
||||
BCardText,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
info: 'unloaded',
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.$http.get('/api/node_info', { crossdomain: true }).then(response => {
|
||||
this.data.info = response.data
|
||||
}).catch(e => {
|
||||
this.errors.push(e)
|
||||
})
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user