问题1:无效字符
解决办法:
在document.ejs文件里引入一下js文件:
1
<script src="https://npmcdn.com/es5-shim@4.5.8/es5-shim.min.js"></script>
<script src="https://npmcdn.com/es5-shim@4.5.8/es5-sham.min.js"></script>
<script src="https://as.alipayobjects.com/g/component/??console-polyfill/0.2.2/index.js,html5shiv/3.7.2/html5shiv.min.js,media-match/2.0.2/media.match.min.js"></script>
2、在config/config.js引入
targets: {
ie: 9,
},
网友评论