From 3fa7cdec6ce44f07a0dc7e1910511ead606990f3 Mon Sep 17 00:00:00 2001 From: zhang <zc857179121@qq.com> Date: 星期四, 11 九月 2025 08:19:53 +0800 Subject: [PATCH] 1 --- zy-acs-flow/src/page/host/HostCreate.jsx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zy-acs-flow/src/page/host/HostCreate.jsx b/zy-acs-flow/src/page/host/HostCreate.jsx index d77ddd4..dbf0182 100644 --- a/zy-acs-flow/src/page/host/HostCreate.jsx +++ b/zy-acs-flow/src/page/host/HostCreate.jsx @@ -45,8 +45,8 @@ notify('common.response.success'); }; - const handleError = async (data) => { - notify('common.response.fail'); + const handleError = async (error) => { + notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } }); }; return ( -- Gitblit v1.9.1