摘要: 普通xx.js文件 import * as x from "xx.js"; console.log(x); import x from "xx.js"; console.log(x); 效果与 console.log(require('xx.js')) 相同 与 import * as x from 阅读全文
posted @ 2018-09-12 15:23 JIN__JIN 阅读(421) 评论(0) 推荐(0) 编辑