1导入模块中export暴露出来具体的某个变量 import {XX,XX} from ‘’ 2导入模块中export default 暴露出来的内容,赋值给变量接收 import XX from ‘AA’