使用export default命令,为模块指定默认输出,这样就不需要知道所要加载模块的变量名。 React中使用export导出类可以有两种方法. 1. export default ...
確定! 回上一頁