Fix: no need emby apikey

This commit is contained in:
zijiren233 2024-05-08 17:36:24 +08:00
parent 85af87c75b
commit f26f071fa2
3 changed files with 1 additions and 14 deletions

3
components.d.ts vendored
View File

@ -9,7 +9,6 @@ declare module 'vue' {
export interface GlobalComponents {
Alist: typeof import('./src/components/fileList/alist.vue')['default']
BilibiliParse: typeof import('./src/components/cinema/dialogs/bilibiliParse.vue')['default']
copy: typeof import('./src/components/cinema/RoomManage copy.vue')['default']
CopyButton: typeof import('./src/components/CopyButton.vue')['default']
CustomHeaders: typeof import('./src/components/cinema/dialogs/customHeaders.vue')['default']
CustomSubtitles: typeof import('./src/components/cinema/dialogs/customSubtitles.vue')['default']
@ -18,7 +17,6 @@ declare module 'vue' {
EditVendor: typeof import('./src/components/admin/dialogs/editVendor.vue')['default']
ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
ElBtn: typeof import('element-plus/es')['ElBtn']
ElButton: typeof import('element-plus/es')['ElButton']
ElCol: typeof import('element-plus/es')['ElCol']
ElCollapse: typeof import('element-plus/es')['ElCollapse']
@ -36,7 +34,6 @@ declare module 'vue' {
ElOption: typeof import('element-plus/es')['ElOption']
ElPagination: typeof import('element-plus/es')['ElPagination']
ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm']
ElRadio: typeof import('element-plus/es')['ElRadio']
ElRow: typeof import('element-plus/es')['ElRow']
ElSelect: typeof import('element-plus/es')['ElSelect']
ElSkeleton: typeof import('element-plus/es')['ElSkeleton']

View File

@ -240,7 +240,6 @@ export const loginEmbyApi = useDefineApi<
host: string;
username: string;
password: string;
apikey: string;
};
},
any

View File

@ -14,8 +14,7 @@ const infoDialog = ref(false);
const emby = ref({
host: "",
username: "",
password: "",
apikey: ""
password: ""
});
//
@ -112,7 +111,6 @@ const closeLoginDialog = () => {
emby.value.password = "";
emby.value.username = "";
emby.value.host = "";
emby.value.apikey = "";
};
</script>
@ -197,13 +195,6 @@ const closeLoginDialog = () => {
v-model.lazy="emby.password"
@keyup.enter="embyLogin"
/>
<input
class="l-input block w-full m-0 my-4"
placeholder="APIKEY"
type="text"
v-model.lazy="emby.apikey"
@keyup.enter="embyLogin"
/>
<div class="flex flex-wrap justify-between text-base">
<button class="btn" @click="closeLoginDialog">取消</button>