From 7e5c6d14e423a0452d346be199487308969b8bef Mon Sep 17 00:00:00 2001
From: xusd <hugeinfo123>
Date: Mon, 16 Sep 2024 19:34:21 +0800
Subject: [PATCH] 网格登录改为url传入token
---
gz-customerSystem/src/components/personCard/index.jsx | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/gz-customerSystem/src/components/personCard/index.jsx b/gz-customerSystem/src/components/personCard/index.jsx
index 5d3e0b2..04a9c83 100644
--- a/gz-customerSystem/src/components/personCard/index.jsx
+++ b/gz-customerSystem/src/components/personCard/index.jsx
@@ -35,10 +35,10 @@
const typeList = data?.map(item => {
return item.perType
})//获取有多少申请人和被申请人
- if (typeList.indexOf('15_020008-1') != -1) {
+ if (typeList?.indexOf('15_020008-1') != -1) {
isAgent = true
}
- if (typeList.indexOf('15_020008-2') != -1) {
+ if (typeList?.indexOf('15_020008-2') != -1) {
isAgentFor = true
}
@@ -51,7 +51,7 @@
return (
<Fragment>
<Row gutter={[24, 16]}>
- {data.map((x, t) => (
+ {data?.map((x, t) => (
<Col span={7} key={t}>
<div className="public-personCard" style={{ cursor: 'pointer' }}>
<div
--
Gitblit v1.8.0