diff --git a/src/views/invoice/Paid.jsx b/src/views/invoice/Paid.jsx index f5b7136..81b2717 100644 --- a/src/views/invoice/Paid.jsx +++ b/src/views/invoice/Paid.jsx @@ -55,19 +55,18 @@ function Paid(){ function showPIc(text,record) { let strPic = record.fl_pic; //console.log(JSON.parse(strPic)); - try { + if (isNotEmpty(strPic)){ return ( JSON.parse(strPic).map((item,index) => { return ; }) - ); - - } catch (error) { + ); + }else{ return ""; } - + }