mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 05:18:10 +00:00
Hotfix: strona nie pojawia się przy dodaniu async dla funkcji setup
This commit is contained in:
+2
-4
@@ -43,12 +43,10 @@ export default defineComponent({
|
||||
logoSVG: require('@/assets/logo.svg'),
|
||||
}),
|
||||
|
||||
async setup() {
|
||||
setup() {
|
||||
const store = inject('Store') as IStore;
|
||||
|
||||
const readyStockJSON = await (await fetch('https://spythere.github.io/api/readyStock.json')).json();
|
||||
|
||||
|
||||
// const readyStockJSON = await (await fetch('https://spythere.github.io/api/readyStock.json')).json();
|
||||
|
||||
return {
|
||||
store,
|
||||
|
||||
Reference in New Issue
Block a user