align code with gridsome doc
This commit is contained in:
@@ -32,8 +32,12 @@ export default {
|
||||
status: {},
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
async mounted() {
|
||||
try {
|
||||
this.fetchData();
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
fetchData: function() {
|
||||
|
||||
Reference in New Issue
Block a user