fix: add async nature

This commit is contained in:
jamesgeorge007
2019-11-20 18:11:07 +05:30
parent 2083e02698
commit 3639ed8f70

View File

@@ -140,7 +140,7 @@ export default {
}; };
}, },
methods: { methods: {
getSchema() { async getSchema() {
const startTime = Date.now(); const startTime = Date.now();
this.schemaString = "Loading..."; this.schemaString = "Loading...";
@@ -223,7 +223,7 @@ export default {
icon: "error" icon: "error"
}); });
console.log("Error", error); console.log("Error", error);
}); }
} }
} }
}; };