有时候在开发中,加载的模块方法会重名。最简单的解决方法是取一个别名。 # 传统方式 import { odd } from './odd' # 增加别名 import { odd as oodd } from './odd'