[2022.02.20 星期日 23:26]
ts export import
https://www.cnblogs.com/qq254980080/p/10321564.html
// test.js
var info = {
name: 'zs',
age: 20
}
export default info
export var title = '小星星'
export var content = '哈哈哈'
// main.js
import person, {title, content as content1} from './test.js'
console.log(person);
console.log(title + '=======' + content1);
// 输出为: info的内容 和 "小星星" "哈哈哈"