diff --git a/src/components/Detail.vue b/src/components/Detail.vue index 1f9c330..c26cd56 100644 --- a/src/components/Detail.vue +++ b/src/components/Detail.vue @@ -184,9 +184,8 @@ export default { name: this.info.name, type: this.info.type, year: this.info.year, - note: this.info.note, - last: this.info.last - + last: this.info.last, + note: this.info.note } star.add(docs).then(res => { this.$message.success('ζ”Άθ—ζˆεŠŸ') diff --git a/src/components/Star.vue b/src/components/Star.vue index e829780..d789803 100644 --- a/src/components/Star.vue +++ b/src/components/Star.vue @@ -201,17 +201,14 @@ export default { updateEvent (e) { zy.detail(e.key, e.ids).then(res => { var doc = { - id: e.id, key: e.key, + id: e.id, ids: res.id, - site: res.site, + last: res.last, name: res.name, type: res.type, year: res.year, - note: res.note, - index: res.index, - last: res.last, - hasUpdate: res.hasUpdate + note: res.note } star.get(e.id).then(resStar => { doc.hasUpdate = resStar.hasUpdate diff --git a/src/lib/dexie/dexie.js b/src/lib/dexie/dexie.js index 204f367..7d29d15 100644 --- a/src/lib/dexie/dexie.js +++ b/src/lib/dexie/dexie.js @@ -8,7 +8,7 @@ db.version(3).stores({ iptvSearch: '++id, keywords', setting: 'id, theme, site, shortcut, view, externalPlayer, searchAllSites, excludeRootClasses, excludeR18Films, forwardTimeInSec', shortcut: 'name, key, desc', - star: '++id, key, ids, site, name, type, year, note, index, last, hasUpdate', + star: '++id, site, ids, name, type, year, index', sites: '++id, key, name, api, download, isActive, group', history: '++id, site, ids, name, type, year, index, time', mini: 'id, site, ids, name, index, time',