From 6b396633cbcfda3378263b8957fa32825f8ca187 Mon Sep 17 00:00:00 2001 From: Jimmy Liow Date: Wed, 11 Sep 2024 10:23:25 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E5=90=88=E5=90=8C=E5=A4=87=E6=B3=A8=E5=BC=82=E5=B8=B8=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/products/Detail/ContractRemarksModal.jsx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/products/Detail/ContractRemarksModal.jsx b/src/views/products/Detail/ContractRemarksModal.jsx index a9037cc..65178ab 100644 --- a/src/views/products/Detail/ContractRemarksModal.jsx +++ b/src/views/products/Detail/ContractRemarksModal.jsx @@ -41,9 +41,15 @@ export const ContractRemarksModal = () => { getRemarkList() .then(list => { remarksForm.setFieldsValue({remarkList:list}) + setRemarksModalOpen(true) + }) + .catch(ex => { + notification.error({ + message: 'Notification', + description: ex.message, + placement: 'top', + }) }) - - setRemarksModalOpen(true) } const getFieldLabel = (field) => {