mirror of
https://github.com/EstrellaXD/Auto_Bangumi.git
synced 2026-04-13 18:11:03 +08:00
fix: type error
This commit is contained in:
@@ -65,6 +65,6 @@
|
||||
"vite": "^4.5.5",
|
||||
"vite-plugin-pwa": "^0.16.7",
|
||||
"vitest": "^0.30.1",
|
||||
"vue-tsc": "^1.8.27"
|
||||
"vue-tsc": "^2.1.6"
|
||||
}
|
||||
}
|
||||
|
||||
81
webui/pnpm-lock.yaml
generated
81
webui/pnpm-lock.yaml
generated
@@ -139,8 +139,8 @@ importers:
|
||||
specifier: ^0.30.1
|
||||
version: 0.30.1(sass@1.62.1)(terser@5.33.0)
|
||||
vue-tsc:
|
||||
specifier: ^1.8.27
|
||||
version: 1.8.27(typescript@4.9.5)
|
||||
specifier: ^2.1.6
|
||||
version: 2.1.6(typescript@4.9.5)
|
||||
|
||||
packages:
|
||||
|
||||
@@ -2157,14 +2157,14 @@ packages:
|
||||
'@vitest/utils@0.34.7':
|
||||
resolution: {integrity: sha512-ziAavQLpCYS9sLOorGrFFKmy2gnfiNU0ZJ15TsMz/K92NAPS/rp9K4z6AJQQk5Y8adCy4Iwpxy7pQumQ/psnRg==}
|
||||
|
||||
'@volar/language-core@1.11.1':
|
||||
resolution: {integrity: sha512-dOcNn3i9GgZAcJt43wuaEykSluAuOkQgzni1cuxLxTV0nJKanQztp7FxyswdRILaKH+P2XZMPRp2S4MV/pElCw==}
|
||||
'@volar/language-core@2.4.5':
|
||||
resolution: {integrity: sha512-F4tA0DCO5Q1F5mScHmca0umsi2ufKULAnMOVBfMsZdT4myhVl4WdKRwCaKcfOkIEuyrAVvtq1ESBdZ+rSyLVww==}
|
||||
|
||||
'@volar/source-map@1.11.1':
|
||||
resolution: {integrity: sha512-hJnOnwZ4+WT5iupLRnuzbULZ42L7BWWPMmruzwtLhJfpDVoZLjNBxHDi2sY2bgZXCKlpU5XcsMFoYrsQmPhfZg==}
|
||||
'@volar/source-map@2.4.5':
|
||||
resolution: {integrity: sha512-varwD7RaKE2J/Z+Zu6j3mNNJbNT394qIxXwdvz/4ao/vxOfyClZpSDtLKkwWmecinkOVos5+PWkWraelfMLfpw==}
|
||||
|
||||
'@volar/typescript@1.11.1':
|
||||
resolution: {integrity: sha512-iU+t2mas/4lYierSnoFOeRFQUhAEMgsFuQxoxvwn5EdQopw43j+J27a4lt9LMInx1gLJBC6qL14WYGlgymaSMQ==}
|
||||
'@volar/typescript@2.4.5':
|
||||
resolution: {integrity: sha512-mcT1mHvLljAEtHviVcBuOyAwwMKz1ibXTi5uYtP/pf4XxoAzpdkQ+Br2IC0NPCvLCbjPZmbf3I0udndkfB1CDg==}
|
||||
|
||||
'@vue-macros/common@1.14.0':
|
||||
resolution: {integrity: sha512-xwQhDoEXRNXobNQmdqOD20yUGdVLVLZe4zhDlT9q/E+z+mvT3wukaAoJG80XRnv/BcgOOCVpxqpkQZ3sNTgjWA==}
|
||||
@@ -2203,11 +2203,14 @@ packages:
|
||||
'@vue/compiler-ssr@3.5.8':
|
||||
resolution: {integrity: sha512-W96PtryNsNG9u0ZnN5Q5j27Z/feGrFV6zy9q5tzJVyJaLiwYxvC0ek4IXClZygyhjm+XKM7WD9pdKi/wIRVC/Q==}
|
||||
|
||||
'@vue/compiler-vue2@2.7.16':
|
||||
resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==}
|
||||
|
||||
'@vue/devtools-api@6.6.4':
|
||||
resolution: {integrity: sha512-sGhTPMuXqZ1rVOk32RylztWkfXTRhuS7vgAKv0zjqk8gbsHkJ7xfFf+jbySxt7tWObEJwyKaHMikV/WGDiQm8g==}
|
||||
|
||||
'@vue/language-core@1.8.27':
|
||||
resolution: {integrity: sha512-L8Kc27VdQserNaCUNiSFdDl9LWT24ly8Hpwf1ECy3aFb9m6bDhBGQYOujDm21N7EW3moKIOKEanQwe1q5BK+mA==}
|
||||
'@vue/language-core@2.1.6':
|
||||
resolution: {integrity: sha512-MW569cSky9R/ooKMh6xa2g1D0AtRKbL56k83dzus/bx//RDJk24RHWkMzbAlXjMdDNyxAaagKPRquBIxkxlCkg==}
|
||||
peerDependencies:
|
||||
typescript: '*'
|
||||
peerDependenciesMeta:
|
||||
@@ -4251,8 +4254,8 @@ packages:
|
||||
ms@2.1.3:
|
||||
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
|
||||
|
||||
muggle-string@0.3.1:
|
||||
resolution: {integrity: sha512-ckmWDJjphvd/FvZawgygcUeQCxzvohjFO5RxTjj4eq8kw359gFF3E1brjfI+viLMxss5JrHTDRHZvu2/tuy0Qg==}
|
||||
muggle-string@0.4.1:
|
||||
resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==}
|
||||
|
||||
naive-ui@2.39.0:
|
||||
resolution: {integrity: sha512-5oUJzRG+rtLSH8eRU+fJvVYiQids2BxF9jp+fwGoAqHOptEINrBlgBu9uy+95RHE5FLJ7Q/z41o+qkoGnUrKxQ==}
|
||||
@@ -5725,6 +5728,9 @@ packages:
|
||||
peerDependencies:
|
||||
vue: ^3.0.0
|
||||
|
||||
vscode-uri@3.0.8:
|
||||
resolution: {integrity: sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==}
|
||||
|
||||
vue-component-type-helpers@2.1.6:
|
||||
resolution: {integrity: sha512-ng11B8B/ZADUMMOsRbqv0arc442q7lifSubD0v8oDXIFoMg/mXwAPUunrroIDkY+mcD0dHKccdaznSVp8EoX3w==}
|
||||
|
||||
@@ -5771,14 +5777,11 @@ packages:
|
||||
peerDependencies:
|
||||
vue: ^3.2.0
|
||||
|
||||
vue-template-compiler@2.7.16:
|
||||
resolution: {integrity: sha512-AYbUWAJHLGGQM7+cNTELw+KsOG9nl2CnSv467WobS5Cv9uk3wFcnr1Etsz2sEIHEZvw1U+o9mRlEO6QbZvUPGQ==}
|
||||
|
||||
vue-tsc@1.8.27:
|
||||
resolution: {integrity: sha512-WesKCAZCRAbmmhuGl3+VrdWItEvfoFIPXOvUJkjULi+x+6G/Dy69yO3TBRJDr9eUlmsNAwVmxsNZxvHKzbkKdg==}
|
||||
vue-tsc@2.1.6:
|
||||
resolution: {integrity: sha512-f98dyZp5FOukcYmbFpuSCJ4Z0vHSOSmxGttZJCsFeX0M4w/Rsq0s4uKXjcSRsZqsRgQa6z7SfuO+y0HVICE57Q==}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
typescript: '*'
|
||||
typescript: '>=5.0.0'
|
||||
|
||||
vue@3.5.8:
|
||||
resolution: {integrity: sha512-hvuvuCy51nP/1fSRvrrIqTLSvrSyz2Pq+KQ8S8SXCxTWVE0nMaOnSDnSOxV1eYmGfvK7mqiwvd1C59CEEz7dAQ==}
|
||||
@@ -8716,18 +8719,17 @@ snapshots:
|
||||
loupe: 2.3.7
|
||||
pretty-format: 29.7.0
|
||||
|
||||
'@volar/language-core@1.11.1':
|
||||
'@volar/language-core@2.4.5':
|
||||
dependencies:
|
||||
'@volar/source-map': 1.11.1
|
||||
'@volar/source-map': 2.4.5
|
||||
|
||||
'@volar/source-map@1.11.1':
|
||||
dependencies:
|
||||
muggle-string: 0.3.1
|
||||
'@volar/source-map@2.4.5': {}
|
||||
|
||||
'@volar/typescript@1.11.1':
|
||||
'@volar/typescript@2.4.5':
|
||||
dependencies:
|
||||
'@volar/language-core': 1.11.1
|
||||
'@volar/language-core': 2.4.5
|
||||
path-browserify: 1.0.1
|
||||
vscode-uri: 3.0.8
|
||||
|
||||
'@vue-macros/common@1.14.0(rollup@2.79.1)(vue@3.5.8(typescript@4.9.5))':
|
||||
dependencies:
|
||||
@@ -8802,19 +8804,23 @@ snapshots:
|
||||
'@vue/compiler-dom': 3.5.8
|
||||
'@vue/shared': 3.5.8
|
||||
|
||||
'@vue/compiler-vue2@2.7.16':
|
||||
dependencies:
|
||||
de-indent: 1.0.2
|
||||
he: 1.2.0
|
||||
|
||||
'@vue/devtools-api@6.6.4': {}
|
||||
|
||||
'@vue/language-core@1.8.27(typescript@4.9.5)':
|
||||
'@vue/language-core@2.1.6(typescript@4.9.5)':
|
||||
dependencies:
|
||||
'@volar/language-core': 1.11.1
|
||||
'@volar/source-map': 1.11.1
|
||||
'@volar/language-core': 2.4.5
|
||||
'@vue/compiler-dom': 3.5.8
|
||||
'@vue/compiler-vue2': 2.7.16
|
||||
'@vue/shared': 3.5.8
|
||||
computeds: 0.0.1
|
||||
minimatch: 9.0.5
|
||||
muggle-string: 0.3.1
|
||||
muggle-string: 0.4.1
|
||||
path-browserify: 1.0.1
|
||||
vue-template-compiler: 2.7.16
|
||||
optionalDependencies:
|
||||
typescript: 4.9.5
|
||||
|
||||
@@ -11092,7 +11098,7 @@ snapshots:
|
||||
|
||||
ms@2.1.3: {}
|
||||
|
||||
muggle-string@0.3.1: {}
|
||||
muggle-string@0.4.1: {}
|
||||
|
||||
naive-ui@2.39.0(vue@3.5.8(typescript@4.9.5)):
|
||||
dependencies:
|
||||
@@ -12671,6 +12677,8 @@ snapshots:
|
||||
evtd: 0.2.4
|
||||
vue: 3.5.8(typescript@4.9.5)
|
||||
|
||||
vscode-uri@3.0.8: {}
|
||||
|
||||
vue-component-type-helpers@2.1.6: {}
|
||||
|
||||
vue-demi@0.14.10(vue@3.5.8(typescript@4.9.5)):
|
||||
@@ -12726,15 +12734,10 @@ snapshots:
|
||||
'@vue/devtools-api': 6.6.4
|
||||
vue: 3.5.8(typescript@4.9.5)
|
||||
|
||||
vue-template-compiler@2.7.16:
|
||||
vue-tsc@2.1.6(typescript@4.9.5):
|
||||
dependencies:
|
||||
de-indent: 1.0.2
|
||||
he: 1.2.0
|
||||
|
||||
vue-tsc@1.8.27(typescript@4.9.5):
|
||||
dependencies:
|
||||
'@volar/typescript': 1.11.1
|
||||
'@vue/language-core': 1.8.27(typescript@4.9.5)
|
||||
'@volar/typescript': 2.4.5
|
||||
'@vue/language-core': 2.1.6(typescript@4.9.5)
|
||||
semver: 7.6.3
|
||||
typescript: 4.9.5
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@ definePage({
|
||||
name: 'Index',
|
||||
redirect: '/bangumi',
|
||||
});
|
||||
|
||||
const title = computed(() => useRoute().name);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -13,7 +15,7 @@ definePage({
|
||||
<ab-sidebar />
|
||||
|
||||
<div class="layout-content">
|
||||
<ab-page-title :title="$route.name"></ab-page-title>
|
||||
<ab-page-title :title="title"></ab-page-title>
|
||||
|
||||
<RouterView v-slot="{ Component }">
|
||||
<KeepAlive>
|
||||
|
||||
@@ -8,7 +8,7 @@ const { url } = storeToRefs(usePlayerStore());
|
||||
|
||||
<template>
|
||||
<div overflow-auto mt-12 flex-grow>
|
||||
<template v-if="url === ''">
|
||||
<template v-if="url.length === 0">
|
||||
<div wh-full f-cer text-h1 text-primary>
|
||||
<RouterLink to="/config" hover:underline>{{
|
||||
$t('player.hit')
|
||||
|
||||
@@ -5,7 +5,7 @@ type MediaPlayerType = 'jump' | 'iframe';
|
||||
export const usePlayerStore = defineStore('player', () => {
|
||||
const types = ref<MediaPlayerType[]>(['jump', 'iframe']);
|
||||
const type = useLocalStorage<MediaPlayerType>('media-player-type', 'jump');
|
||||
const url = useLocalStorage<string>('media-player-url', '');
|
||||
const url = useLocalStorage('media-player-url', '');
|
||||
|
||||
return {
|
||||
types,
|
||||
|
||||
Reference in New Issue
Block a user