require('babel-runtime/core-js/promise'). 来获取Promise。 这样我们就弥补了babel-polyfill的缺点,达到了按需加载的效果。但是在实际项目开发过程中,我们往往会写 ...
確定! 回上一頁