From f5f101d88a06e34b30737d149906cf428ca2c1da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E7=BB=9D=E5=B0=98?= <237809796@qq.com>
Date: Tue, 30 Jun 2026 21:44:56 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=20=E8=AE=BE=E7=BD=AE?=
=?UTF-8?q?=E9=A1=B5=E5=92=8C=20AI=20=E7=8B=AC=E7=AB=8B=E7=AA=97=E5=8F=A3?=
=?UTF-8?q?=E6=B8=B2=E6=9F=93=E5=B4=A9=E6=BA=83(=E5=BE=AA=E7=8E=AF?=
=?UTF-8?q?=E4=BE=9D=E8=B5=96=20TDZ)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- ProviderPanel 改静态 import useAiStore 为动态 import,打破循环依赖链
- ErrorBoundary 增强显示具体错误信息和可折叠堆栈详情
---
src/components/ErrorBoundary.vue | 52 +++++++++++++++++++++--
src/components/settings/ProviderPanel.vue | 15 +++++--
2 files changed, 60 insertions(+), 7 deletions(-)
diff --git a/src/components/ErrorBoundary.vue b/src/components/ErrorBoundary.vue
index ff494e5..d90f42b 100644
--- a/src/components/ErrorBoundary.vue
+++ b/src/components/ErrorBoundary.vue
@@ -7,7 +7,11 @@
⚠
{{ $t('error.title') }}
- {{ $t('error.desc') }}
+ {{ errorMessage }}
+
+ 堆栈详情
+ {{ errorStack }}
+
@@ -15,11 +19,26 @@