Skip to content

Commit

Permalink
Update ApiSelect.vue (#3225)
Browse files Browse the repository at this point in the history
修复 isFirstLoaded 状态没有重置导致 fetch方法只会调用一次
  • Loading branch information
path-yu authored Nov 2, 2023
1 parent bb3d5b8 commit bf06037
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Form/src/components/ApiSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@
console.warn(error);
} finally {
loading.value = false;
// reset status
isFirstLoaded.value = false;
}
}
Expand Down

0 comments on commit bf06037

Please sign in to comment.