diff --git a/.vscode/settings.json b/.vscode/settings.json index f39f435a..0b1106bf 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -9,10 +9,14 @@ "Auths", "clipboardy", "countup", + "daterange", "echarts", "filemanager", "Hengyang", "Kanban", + "Popconfirm", + "vueuse", + "webtime", "zrender" ], "cSpell.ignorePaths": [ diff --git a/aaa b/aaa new file mode 100644 index 00000000..68468eaf Binary files /dev/null and b/aaa differ diff --git a/package.json b/package.json index 2096403d..19305cda 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ }, "dependencies": { "@element-plus/icons-vue": "^2.3.1", + "@vueuse/core": "^10.7.2", "axios": "^1.6.5", "clipboardy": "^4.0.0", "countup.js": "^2.8.0", @@ -71,4 +72,4 @@ "engines": { "node": ">=18" } -} \ No newline at end of file +} diff --git a/src/app/components/analysis/components/filter.ts b/src/app/components/Analysis/components/AnalysisFilter.tsx similarity index 58% rename from src/app/components/analysis/components/filter.ts rename to src/app/components/Analysis/components/AnalysisFilter.tsx index 8431601b..b928c779 100644 --- a/src/app/components/analysis/components/filter.ts +++ b/src/app/components/Analysis/components/AnalysisFilter.tsx @@ -1,14 +1,14 @@ /** * Copyright (c) 2021 Hengyang Zhang - * + * * This software is released under the MIT License. * https://opensource.org/licenses/MIT */ -import type { Ref, PropType, VNode } from "vue" +import type { Ref, PropType } from "vue" import { ElOption, ElSelect, ElTag } from "element-plus" -import { ref, h, defineComponent } from "vue" +import { ref, defineComponent } from "vue" import statService, { HostSet } from "@service/stat-service" import siteService from "@service/site-service" import { t } from "@app/locale" @@ -45,7 +45,7 @@ async function handleRemoteSearch(queryStr: string, trendDomainOptions: Ref