Upgrade maplibre and fix goToPost
This commit is contained in:
@@ -10,13 +10,12 @@ const aoRoutes = {
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
//spot: window.oSpot,
|
||||
hash: {}
|
||||
};
|
||||
},
|
||||
inject: ['spot'],
|
||||
computed: {
|
||||
currentView() {
|
||||
page() {
|
||||
this.spot.vars('page', this.hash.page);
|
||||
return aoRoutes[this.hash.page];
|
||||
}
|
||||
@@ -62,7 +61,7 @@ export default {
|
||||
</script>
|
||||
<template>
|
||||
<div id="main">
|
||||
<component :is="currentView" />
|
||||
<component :is="page" />
|
||||
</div>
|
||||
<div id="mobile"></div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user