统一导入
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>([])
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user