From bf060376e601a5b774f2e4dc48ad5783165c94ee Mon Sep 17 00:00:00 2001 From: Jiaxin sugar <59117479+path-yu@users.noreply.github.com> Date: Thu, 2 Nov 2023 09:06:49 +0800 Subject: [PATCH] Update ApiSelect.vue (#3225) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复 isFirstLoaded 状态没有重置导致 fetch方法只会调用一次 --- src/components/Form/src/components/ApiSelect.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Form/src/components/ApiSelect.vue b/src/components/Form/src/components/ApiSelect.vue index fa0d11c9bdf..c7c9b3dd277 100644 --- a/src/components/Form/src/components/ApiSelect.vue +++ b/src/components/Form/src/components/ApiSelect.vue @@ -127,6 +127,8 @@ console.warn(error); } finally { loading.value = false; + // reset status + isFirstLoaded.value = false; } }