diff --git a/src/components.d.ts b/src/components.d.ts index 2f1f98e..db751ef 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -27,16 +27,9 @@ declare module 'vue' { ListLink: typeof import('./components/SideNav/ListLink.vue')['default'] NaiveuiProvider: typeof import('./components/NaiveuiProvider.vue')['default'] NAlert: typeof import('naive-ui')['NAlert'] - NButton: typeof import('naive-ui')['NButton'] - NCard: typeof import('naive-ui')['NCard'] - NEmpty: typeof import('naive-ui')['NEmpty'] - NFlex: typeof import('naive-ui')['NFlex'] NLi: typeof import('naive-ui')['NLi'] - NPagination: typeof import('naive-ui')['NPagination'] NProgress: typeof import('./components/NProgress.vue')['default'] NSpace: typeof import('naive-ui')['NSpace'] - NTabPane: typeof import('naive-ui')['NTabPane'] - NTabs: typeof import('naive-ui')['NTabs'] NTag: typeof import('naive-ui')['NTag'] NUl: typeof import('naive-ui')['NUl'] Placeholder: typeof import('./components/Placeholder.vue')['default'] diff --git a/src/view/_debug/zip.vue b/src/view/_debug/zip.vue index 77e2d4f..6ab507a 100644 --- a/src/view/_debug/zip.vue +++ b/src/view/_debug/zip.vue @@ -52,14 +52,14 @@ import { type ZipEntry, } from '@/utils/ZipDownloader' import { IconDownload } from '@tabler/icons-vue' -import { type TableColumn } from 'naive-ui/es/data-table/src/interface' +import { type DataTableColumns } from 'naive-ui' const downloader = new ZipDownloader('') const data = ref() const entries = computed(() => data.value?.entries) -const columns = ref[]>([ +const columns = ref>([ { title: '', key: 'actions', diff --git a/wrangler.toml b/wrangler.toml index 7799596..f297f8c 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -10,9 +10,7 @@ bucket = "./dist" # 这些变量都有默认值,可以根据需要自定义 [vars] # User-Agent 黑名单(JSON 数组格式) -UA_BLACKLIST = "[]" -# 自定义 User-Agent(可选,有默认值) -USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0" + # 代理IP配置(可选,用于绕过Pixiv WAF) PROXY_IP = "ProxyIP.US.CMLiussss.net" # 自定义图片代理 URL(可选,默认使用 Pixiv 原始 URL)