fix(ApiSelect): ApiSelect的isFirstLoaded赋值逻辑,只有当加载报错时才能恢复未初次加载状态 (#3671)

This commit is contained in:
松鼠 2024-03-14 10:02:20 +08:00 committed by GitHub
parent 02b3a2fce8
commit 3d733de399
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -121,10 +121,10 @@
emitChange();
} catch (error) {
console.warn(error);
} finally {
loading.value = false;
// reset status
isFirstLoaded.value = false;
} finally {
loading.value = false;
}
}