feat: npm location 地图

This commit is contained in:
chenjinsong
2022-08-19 10:06:27 +08:00
parent b400800059
commit fa0a4c359e
259 changed files with 238 additions and 7135 deletions

7
src/indexedDB/index.js Normal file
View File

@@ -0,0 +1,7 @@
import { dbName, dbGeoDataTableName } from '@/utils/constants'
import Dexie from 'dexie'
export const db = new Dexie(dbName)
db.version(1).stores({
[dbGeoDataTableName]: '++name, geo'
})