a.js
const typeList = [
{a:1},
{b:2},
{c:3}
]
exports = {typeList}
b.js
import { typeList } from './a'
console.log(typeList) // =====> 显示undefined,为什么?
拉莫斯之舞
相关分类