add flowchart
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
2025-10-20 20:05:16 +08:00
parent d32af7e6e7
commit 63e58593d7
9 changed files with 259 additions and 45 deletions

View File

@@ -15,6 +15,7 @@ export const useAIStore = defineStore("ai", () => {
difficulty: {},
contest_count: 0,
solved: [],
flowcharts: [],
})
const heatmapData = ref<{ timestamp: number; value: number }[]>([])
@@ -36,6 +37,7 @@ export const useAIStore = defineStore("ai", () => {
detailsData.tags = res.data.tags
detailsData.difficulty = res.data.difficulty
detailsData.contest_count = res.data.contest_count
detailsData.flowcharts = res.data.flowcharts
}
async function fetchDurationData(end: string, duration: string) {