From cd7e95a798c87723d9aad70ba8a0b1483cb5e2c9 Mon Sep 17 00:00:00 2001 From: liyj <1003249715@qq.com> Date: Thu, 29 Aug 2024 10:06:15 +0800 Subject: [PATCH] 下拉框选择字典值修改 --- gz-customerSystem/src/views/register/visit/index.jsx | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/gz-customerSystem/src/views/register/visit/index.jsx b/gz-customerSystem/src/views/register/visit/index.jsx index 2032a9b..b912ecd 100644 --- a/gz-customerSystem/src/views/register/visit/index.jsx +++ b/gz-customerSystem/src/views/register/visit/index.jsx @@ -83,12 +83,16 @@ }); } + const breadcrumbDataMap = { + 1: { breadcrumbData: [{ title: '工作台' }, { title: '来访登记' }], title: '来访登记' }, + 3: { breadcrumbData: [{ title: '工作台' }, { title: '事件中心' }], title: '办理反馈' } + } return ( <div style={{ position: 'relative' }}> <NewPage pageHead={ - { breadcrumbData: [{ title: '工作台' }, { title: '来访登记' }], title: '来访登记' } + breadcrumbDataMap[current] } > { -- Gitblit v1.8.0