diff --git a/.vscode/settings.json b/.vscode/settings.json index 8221f727..fb577554 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,7 +6,19 @@ }, "javascript.format.insertSpaceBeforeFunctionParenthesis": true, "cSpell.words": [ + "Auths", "echarts", - "Hengyang" + "Hengyang", + "Kanban" + ], + "cSpell.ignorePaths": [ + "package-lock.json", + "node_modules", + "vscode-extension", + ".git/objects", + ".vscode", + ".vscode-insiders", + // Ignore i18n resources + "src/i18n/message/**/*.json", ], } \ No newline at end of file diff --git a/src/app/components/analysis/components/common/row-card.ts b/src/app/components/analysis/components/common/row-card.ts deleted file mode 100644 index d8617f87..00000000 --- a/src/app/components/analysis/components/common/row-card.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** - * Copyright (c) 2023 Hengyang Zhang - * - * This software is released under the MIT License. - * https://opensource.org/licenses/MIT - */ - -import { ElCard } from "element-plus" -import { defineComponent, h } from "vue" - -const _default = defineComponent({ - props: { - title: String - }, - setup(props, ctx) { - const slots = ctx.slots - const { default: default_ } = slots - return () => { - const title = h('div', { class: 'analysis-row-title' }, props.title) - return h(ElCard, { class: 'analysis-row-card' }, () => [title, h(default_, { class: 'analysis-row-body' })]) - } - } -}) - -export default _default \ No newline at end of file diff --git a/src/app/components/analysis/components/filter.ts b/src/app/components/analysis/components/filter.ts index 2f9e99a0..8431601b 100644 --- a/src/app/components/analysis/components/filter.ts +++ b/src/app/components/analysis/components/filter.ts @@ -12,7 +12,7 @@ import { ref, h, defineComponent } from "vue" import statService, { HostSet } from "@service/stat-service" import siteService from "@service/site-service" import { t } from "@app/locale" -import SelectFilterItem from "@app/components/common/select-filter-item" +import TimeFormatFilterItem from "@app/components/common/time-format-filter-item" import { labelOfHostInfo } from "../util" const calcUniqueKey = ({ host, virtual, merged }: timer.site.SiteInfo) => `${host}${virtual ? 1 : 0}${merged ? 1 : 0}` @@ -45,13 +45,6 @@ async function handleRemoteSearch(queryStr: string, trendDomainOptions: Ref