Skip to content

Commit 4c87da2

Browse files
authored
Merge pull request #89 from tolerious/feat/refactor-app
🐛 Fix diagram bug.
2 parents b9e84b2 + fec0be2 commit 4c87da2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/views/HomePage.vue

+1
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ function mapWeekDay(week: string) {
202202
203203
async function getEveryDayWordCount() {
204204
const info = await request({ url: '/word/thisweek' });
205+
everyDayWordCount.value = [];
205206
for (let key in info.data) {
206207
everyDayWordCount.value.push({
207208
year: mapWeekDay(key),

0 commit comments

Comments
 (0)