react-switch使用

192 阅读1分钟

switch

为了让匹配路径匹配到之后不再往下继续匹配其他的 所以使用switch

image.png

image.png

image.png