统一导入

This commit is contained in:
2025-10-05 20:07:41 +08:00
parent 2b93a9e849
commit 7e6d03ca1a
77 changed files with 211 additions and 211 deletions

View File

@@ -23,7 +23,7 @@
</n-grid>
</template>
<script setup lang="ts">
import { isDesktop } from "~/shared/composables/breakpoints"
import { isDesktop } from "shared/composables/breakpoints"
import { formatISO, sub, type Duration } from "date-fns"
import WeeklyChart from "./components/WeeklyChart.vue"
import Details from "./components/Details.vue"

View File

@@ -6,7 +6,7 @@
</n-spin>
</template>
<script setup lang="ts">
import { useAIStore } from "~/oj/store/ai"
import { useAIStore } from "oj/store/ai"
import { MdPreview } from "md-editor-v3"
import "md-editor-v3/lib/preview.css"

View File

@@ -47,10 +47,10 @@ import TagsChart from "./TagsChart.vue"
import DifficultyChart from "./DifficultyChart.vue"
import TagTitle from "./TagTitle.vue"
import AI from "./AI.vue"
import { parseTime } from "~/utils/functions"
import { SolvedProblem } from "~/utils/types"
import { useAIStore } from "~/oj/store/ai"
import { isDesktop } from "~/shared/composables/breakpoints"
import { parseTime } from "utils/functions"
import { SolvedProblem } from "utils/types"
import { useAIStore } from "oj/store/ai"
import { isDesktop } from "shared/composables/breakpoints"
const props = defineProps<{
start: string

View File

@@ -17,7 +17,7 @@
</template>
<script setup lang="ts">
import { type HeatmapData } from "naive-ui"
import { getAIHeatmapData } from "~/oj/api"
import { getAIHeatmapData } from "oj/api"
const data = ref<HeatmapData>([])

View File

@@ -8,8 +8,8 @@
<script setup lang="ts">
import type { ChartData, ChartOptions, TooltipItem } from "chart.js"
import { Chart } from "vue-chartjs"
import { useAIStore } from "~/oj/store/ai"
import { parseTime } from "~/utils/functions"
import { useAIStore } from "oj/store/ai"
import { parseTime } from "utils/functions"
const props = defineProps<{
end: string