Commit ec4ad640 authored by 周宏民's avatar 周宏民

pref: 榆林市水利局 添加跳转

parent d18cba84
Pipeline #96709 passed with stages
......@@ -180,7 +180,6 @@ const IntegrationYulin = props => {
const onLink = (item, loginA) => {
const url = infoData[item.key]?.url || '';
if (!url) return;
const token = props.global?.token || Cookies.get('token');
......@@ -311,7 +310,13 @@ const IntegrationYulin = props => {
</div>
{infoData['榆阳区'] ? (
<div className={classNames(styles.tip1)}>
<div className={classNames(styles.tip_title)}>{infoData['榆阳区'].title}</div>
<div
onClick={() => onLink({ key: '榆林市水利局' }, loginAction)}
style={{ cursor: 'pointer' }}
className={classNames(styles.tip_title)}
>
{infoData['榆阳区'].title}
</div>
<div className={classNames(styles.tip_box)}>
<img src={infoData['榆阳区'].img} alt="" />
<div className={classNames(styles.tip_content)}>{infoData['榆阳区'].content}</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment