fix: Fix docker status flicker issue (#9218)

This commit is contained in:
igophper 2025-06-23 13:46:03 +08:00 committed by GitHub
parent 17c685bc4c
commit 2f6aa0f45b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,8 +20,8 @@ const prop = defineProps({
});
const em = defineEmits(['search', 'mounted', 'update:is-active', 'update:is-exist', 'update:loading']);
const isActive = ref();
const isExist = ref();
const isActive = ref(true);
const isExist = ref(true);
const loadStatus = async () => {
em('update:loading', true);
await loadDockerStatus()