开发: 添加客户列表

This commit is contained in:
zhengw
2023-04-18 17:28:06 +08:00
parent 97348fea9e
commit 079739223a
10 changed files with 456 additions and 269 deletions

View File

@@ -69,7 +69,7 @@ export const formatTags = (data: any) => {
if (data) {
try {
const tags = JSON.parse(data);
if (Array.isArray(tags)) {
if (Array.isArray(tags) && tags.length) {
return (
<>
{tags.map((item) => {
@@ -82,11 +82,9 @@ export const formatTags = (data: any) => {
</>
);
}
} catch (e) {
return <></>;
}
} catch (e) {}
}
return <></>;
return <div></div>;
};
type IGroupIcon = {