The format of the usage parameter params of the breadcrumb component of antd

        routes={[
          {
            path: "search/products",
            breadcrumbName: ""
          },
          {
            path: "goods-details",
            breadcrumbName: ""
          },
        ]}
        params={{
          
        }}

in what format should params be transmitted so that path in routes can receive parameters on the page?


two methods
1. When defining a route, write
2 in the form of path: 'search/products/:params1/:params2' . When you jump, path: 'search/products?param1=xxxx' to write

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be84de-318fe.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be84de-318fe.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?