1.es6和node.js做路径解释,有很多时候我们都看到‘./store’,其中“store”是一个文件夹,后面就没有接文件了,这是es6和nodejs默认会找到文件夹后面的index.js,所以会解释成为'./store/index.js'