layout: tabbar scrollable in profile
This commit is contained in:
parent
2fe73aebc9
commit
a96e1693ed
11
.idea/modules.xml
generated
11
.idea/modules.xml
generated
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/labswp_2019_sose_geocaching.iml" filepath="$PROJECT_DIR$/.idea/labswp_2019_sose_geocaching.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/labswp_2019_sose_geocaching.iml" filepath="$PROJECT_DIR$/.idea/modules/labswp_2019_sose_geocaching.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/labswp_2019_sose_geocaching.main.iml" filepath="$PROJECT_DIR$/.idea/modules/labswp_2019_sose_geocaching.main.iml" />
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/modules/labswp_2019_sose_geocaching.test.iml" filepath="$PROJECT_DIR$/.idea/modules/labswp_2019_sose_geocaching.test.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<q-page class="column">
|
||||
<q-page class="column no-wrap">
|
||||
<div class="bg-red col col-shrink" style="">
|
||||
<q-tabs
|
||||
v-model="tab"
|
||||
@ -129,23 +129,7 @@
|
||||
this.startedCaches = response.data;
|
||||
});
|
||||
},
|
||||
startCache(cacheID) {
|
||||
const userToken = JSON.parse(localStorage.getItem('userToken'));
|
||||
let params = {cacheID: cacheID};
|
||||
if (userToken != null) {
|
||||
params.token = userToken;
|
||||
}
|
||||
console.log(params);
|
||||
|
||||
this.$axios.get('http://localhost:8080/api/startCache', {params})
|
||||
.then((response) => {
|
||||
console.log(response.data);
|
||||
// TODO wenn cache angefangen, dann suche die letzte gefundene Station
|
||||
let stationID = this.caches.find(x => x.id === cacheID).stationen[0].id;
|
||||
console.log(stationID);
|
||||
//this.$router.push({path: `/station/${stationID}`})
|
||||
this.$router.push({path: `/station/${cacheID}/${stationID}`})
|
||||
})
|
||||
continueCache(cacheID) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user