From ba360120def7010cc46ffd22e41d73cb284f79f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Mon, 9 Mar 2026 18:33:17 +0800 Subject: [PATCH] Return null instead of undefined on 404 in conformance trace detail methods Co-Authored-By: Claude Opus 4.6 --- src/stores/conformance.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stores/conformance.ts b/src/stores/conformance.ts index c105fc3..c0fbfce 100644 --- a/src/stores/conformance.ts +++ b/src/stores/conformance.ts @@ -347,7 +347,7 @@ export const useConformanceStore = defineStore("conformanceStore", { } catch (error) { if (error.response?.status === 404) { this.infinite404 = 404; - return; + return null; } apiError( error, @@ -387,7 +387,7 @@ export const useConformanceStore = defineStore("conformanceStore", { } catch (error) { if (error.response?.status === 404) { this.infinite404 = 404; - return; + return null; } apiError( error,