fix(credit): 修复客户管理页面路径跳转问题
- 移除行业选择弹窗中的冗余标题栏 - 修正首页导航至客户管理页面的路由路径 - 确保导航链接指向正确的客户管理组件
This commit is contained in:
@@ -656,12 +656,6 @@ export default function CreditCompanyPage() {
|
|||||||
onClose={() => setIndustryVisible(false)}
|
onClose={() => setIndustryVisible(false)}
|
||||||
>
|
>
|
||||||
<View className="p-4">
|
<View className="p-4">
|
||||||
<View className="flex items-center justify-between mb-3">
|
|
||||||
<Text className="text-base font-medium">行业</Text>
|
|
||||||
<Text className="text-sm text-gray-500" onClick={() => setIndustryVisible(false)}>
|
|
||||||
关闭
|
|
||||||
</Text>
|
|
||||||
</View>
|
|
||||||
<CellGroup>
|
<CellGroup>
|
||||||
{visibleIndustryOptions.map(s => (
|
{visibleIndustryOptions.map(s => (
|
||||||
<Cell
|
<Cell
|
||||||
|
|||||||
@@ -157,7 +157,7 @@ function Home() {
|
|||||||
|
|
||||||
{admin && (
|
{admin && (
|
||||||
<View className='ctaWrap gap-3'>
|
<View className='ctaWrap gap-3'>
|
||||||
<View className='ctaBtn' onClick={() => navTo('/credit/creditMpCustomer/index', true)}>
|
<View className='ctaBtn' onClick={() => navTo('/credit/mp-customer/index', true)}>
|
||||||
<Text className='ctaBtnText'>客户管理</Text>
|
<Text className='ctaBtnText'>客户管理</Text>
|
||||||
</View>
|
</View>
|
||||||
<View className='ctaBtn' onClick={() => navTo('/credit/order/index', true)}>
|
<View className='ctaBtn' onClick={() => navTo('/credit/order/index', true)}>
|
||||||
|
|||||||
Reference in New Issue
Block a user