React-router-dom 中的Switch 和 antd Switch 组件是不是不能同时用

#1

react-router-dom 中的Switch 和 antd Switch 组件是不是不能同时用

#2

不啊,可以

import {Switch as SwitchRouter} from 'react-router-dom';

多看看ES6

#4

谢谢,get到了