diff --git a/packages/kit/src/provider/Container/ErrorToastContainer/ErrorToastContainer.tsx b/packages/kit/src/provider/Container/ErrorToastContainer/ErrorToastContainer.tsx index d3d25ea76d6..ccc74ce666c 100644 --- a/packages/kit/src/provider/Container/ErrorToastContainer/ErrorToastContainer.tsx +++ b/packages/kit/src/provider/Container/ErrorToastContainer/ErrorToastContainer.tsx @@ -23,7 +23,7 @@ export function ErrorToastContainer() { let toastId = isFilterErrorCode(p.errorCode) ? String(p.errorCode) : undefined; - toastId = toastId || message; + toastId = toastId || (p.title ? p.title : message); const actions = isRequestIdMessage(message) ? (