Commit afa6e4ce authored by 前端-许佳敏's avatar 前端-许佳敏

fix: 商品详情

parent 58a1e8b3
...@@ -30,6 +30,12 @@ const router = { ...@@ -30,6 +30,12 @@ const router = {
component: '@/pages/commodity/productWillCheck/checkProducts', component: '@/pages/commodity/productWillCheck/checkProducts',
hideInMenu: true, hideInMenu: true,
}, },
{
path: '/commodity/productWillCheck/preview',
name: 'detailCheckProducts',
component: '@/pages/commodity/productWillCheck/checkProducts',
hideInMenu: true,
},
] ]
} }
......
...@@ -32,7 +32,7 @@ const Products: React.FC<{}> = () => { ...@@ -32,7 +32,7 @@ const Products: React.FC<{}> = () => {
key: 'name', key: 'name',
className: 'commonPickColor', className: 'commonPickColor',
render: (text: any, record: any) => <EyePreview render: (text: any, record: any) => <EyePreview
url={`/commodity/products/detail?id=${record.id}`} url={`/commodity/products/preview?id=${record.id}`}
> >
{text} {text}
</EyePreview> </EyePreview>
......
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