feat(ErrorBlock): add centered modal display for error details

- Updated the ErrorBlock component to include a centered modal for displaying error details, enhancing the user interface and accessibility of error information.
This commit is contained in:
MyPrototypeWhat 2025-08-29 11:30:16 +08:00
parent 1b86997f14
commit 1735a9efb6

View File

@ -181,6 +181,7 @@ ${t('error.stack')}: ${error.stack || 'N/A'}
return (
<Modal
centered
title={t('error.detail')}
open={open}
onCancel={onClose}