fix(ApiSelect): ApiSelect的isFirstLoaded赋值逻辑,只有当加载报错时才能恢复未初次加载状态 (#3671)
This commit is contained in:
parent
02b3a2fce8
commit
3d733de399
|
|
@ -121,10 +121,10 @@
|
||||||
emitChange();
|
emitChange();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.warn(error);
|
console.warn(error);
|
||||||
} finally {
|
|
||||||
loading.value = false;
|
|
||||||
// reset status
|
// reset status
|
||||||
isFirstLoaded.value = false;
|
isFirstLoaded.value = false;
|
||||||
|
} finally {
|
||||||
|
loading.value = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue