Skip to content

Commit

Permalink
fix: auto refresh not working
Browse files Browse the repository at this point in the history
  • Loading branch information
AsyncFox committed Dec 9, 2023
1 parent ac02262 commit d7c07b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const calendarAttr = computed(() => {
});
async function useRefreshData() {
if (isSubmitOpen)
if (isSubmitOpen.value)
return; // pause refresh data when submit dialog is open
try {
const newSongInfoData = await $api.song.info.query();
Expand Down

0 comments on commit d7c07b6

Please sign in to comment.