fix: Fixed network search returning empty results with no page update (#11251)

This commit is contained in:
CityFun 2025-12-08 15:10:37 +08:00 committed by GitHub
parent b397363c9d
commit 8bec6f2b28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -206,6 +206,9 @@ const onOpenProcess = () => {
const onMessage = (message: any) => {
oldData.value = JSON.parse(message.data);
data.value = filterByStatus();
if (data.value == null) {
data.value = [];
}
loading.value = false;
};
const onerror = () => {};