mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
fix: dexie database type fix
This commit is contained in:
parent
211d7fe2c9
commit
1502f9c83b
@ -4,7 +4,7 @@ import type { Slide } from '@/types/slides'
|
||||
import { LOCALSTORAGE_KEY_DISCARDED_DB } from '@/configs/storage'
|
||||
|
||||
export interface writingBoardImg {
|
||||
id: number
|
||||
id: string
|
||||
dataURL: string
|
||||
}
|
||||
|
||||
@ -49,7 +49,7 @@ const db = new Dexie(`${databaseNamePrefix}_${databaseId}_${new Date().getTime()
|
||||
|
||||
db.version(1).stores({
|
||||
snapshots: '++id',
|
||||
writingBoardImgs: '++id',
|
||||
writingBoardImgs: 'id',
|
||||
})
|
||||
|
||||
export { db }
|
Loading…
x
Reference in New Issue
Block a user