This commit is contained in:
parent
f828ca4491
commit
cb51a4136f
167 changed files with 21485 additions and 21212 deletions
|
@ -1,6 +1,7 @@
|
|||
import { defineStore } from 'pinia';
|
||||
// import axios from 'axios';
|
||||
// import dayjs from 'dayjs';
|
||||
import type { Map as LeafletMap } from 'leaflet' ;
|
||||
|
||||
export const TimeService = defineStore('map', {
|
||||
state: () => ({
|
||||
|
@ -12,7 +13,7 @@ export const TimeService = defineStore('map', {
|
|||
return this.mapService.get(id);
|
||||
},
|
||||
|
||||
setMap(id: string, map) {
|
||||
setMap(id: string, map: LeafletMap) {
|
||||
this.mapService.set(id, map);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue