Update ApiSelect.vue (#3225)

修复 isFirstLoaded 状态没有重置导致 fetch方法只会调用一次
This commit is contained in:
Jiaxin sugar 2023-11-02 09:06:49 +08:00 committed by GitHub
parent bb3d5b8ae8
commit bf060376e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,6 +127,8 @@
console.warn(error); console.warn(error);
} finally { } finally {
loading.value = false; loading.value = false;
// reset status
isFirstLoaded.value = false;
} }
} }