From 4d21603d8db505ee8c621a471a734f2a3899a54e Mon Sep 17 00:00:00 2001 From: PeopleSea Date: Thu, 4 Jul 2024 10:40:39 +0800 Subject: [PATCH] fix(ma-resource): prevent image component from throwing error when src is null By adding a null check for the `src` attribute of the `a-image` component, we ensure that the component does not throw an error when the `networkImg` variable is undefined or null. This improves the robustness of the component and prevents potential crashes in the UI. --- src/components/ma-resource/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ma-resource/index.vue b/src/components/ma-resource/index.vue index a6064df2..b3bde14d 100644 --- a/src/components/ma-resource/index.vue +++ b/src/components/ma-resource/index.vue @@ -12,7 +12,7 @@ - +