diff --git a/src/auto-imports.d.ts b/src/auto-imports.d.ts index b4dd12eb..301fd99c 100644 --- a/src/auto-imports.d.ts +++ b/src/auto-imports.d.ts @@ -42,7 +42,6 @@ declare global { const readonly: typeof import('vue')['readonly'] const ref: typeof import('vue')['ref'] const resolveComponent: typeof import('vue')['resolveComponent'] - const resolveDirective: typeof import('vue')['resolveDirective'] const shallowReactive: typeof import('vue')['shallowReactive'] const shallowReadonly: typeof import('vue')['shallowReadonly'] const shallowRef: typeof import('vue')['shallowRef'] diff --git a/src/background/msg.define.ts b/src/background/msg.define.ts index 99943e2e..29b3e7ae 100644 --- a/src/background/msg.define.ts +++ b/src/background/msg.define.ts @@ -61,7 +61,7 @@ enum VIDEO { enum WATCHLATER { SAVE_TO_WATCH_LATER = 'saveToWatchLater', REMOVE_FROM_WATCH_LATER = 'removeFromWatchLater', - GET_ALL_WATCHLATER_LIST = 'getAllWatchLaterList', + GET_ALL_WATCH_LATER_LIST = 'getAllWatchLaterList', CLEAR_ALL_WATCH_LATER = 'clearAllWatchLater', } diff --git a/src/contentScripts/views/WatchLater/WatchLater.vue b/src/contentScripts/views/WatchLater/WatchLater.vue index b7aeefe0..3d5f39f3 100644 --- a/src/contentScripts/views/WatchLater/WatchLater.vue +++ b/src/contentScripts/views/WatchLater/WatchLater.vue @@ -33,7 +33,7 @@ function initPageAction() { function getAllWatchLaterList() { isLoading.value = true watchLaterList.length = 0 - api.watchlater.getAllWatchlaterList() + api.watchlater.getAllWatchLaterList() .then((res: WatchLaterResult) => { if (res.code === 0) Object.assign(watchLaterList, res.data.list)