feat: npm location 地图
This commit is contained in:
7
src/indexedDB/index.js
Normal file
7
src/indexedDB/index.js
Normal 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'
|
||||
})
|
||||
Reference in New Issue
Block a user