fix: cache limit issue

This commit is contained in:
qier222 2021-06-02 19:08:25 +08:00
parent efd67346fd
commit 61d1d0ab4d
No known key found for this signature in database
GPG Key ID: 9C85007ED905F14D

View File

@ -5,9 +5,9 @@ import store from '@/store';
const db = new Dexie('yesplaymusic'); const db = new Dexie('yesplaymusic');
db.version(2) db.version(3)
.stores({ .stores({
trackSources: '&id', trackSources: '&id, createTime',
}) })
.upgrade(tx => .upgrade(tx =>
tx tx