forked from LaconicNetwork/cosmos-explorer
调试跨域的问题
This commit is contained in:
+2
-2
@@ -20,9 +20,9 @@ export default {
|
||||
},
|
||||
mounted() {
|
||||
this.$http.get('/api/node_info', { crossdomain: true }).then(response => {
|
||||
this.data.info = response.data
|
||||
this.info = response.data
|
||||
}).catch(e => {
|
||||
this.errors.push(e)
|
||||
console.log(e)
|
||||
})
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user