Uncaught TypeError: Cannot read property 'extend' of undefined at sha224.js:12 at sha224.js:60 Uncaught TypeError: CryptoJS.SHA224 is not a function at sha_crypto.html:53 在导入sha224.js的时候要注意:在到sha224之前一定要导入core.js和sha256.js的包,所有的包都依赖与core包,core包是核心包,在
function include(path){ var a=document.createElement("script"); a.type = "text/javascript"; a.src=path; var head=document.getElementsByTagName("head")[0]; head.appendChild(a); } 可以在任何地方以include(&q
出现问题 使用vue+element-ui+webpack开发项目时,Jenkins构建出现报错error in static/js/xxx.js from UglifyJs Unpected token: punc() [static/js/xxx.js],本地打包出现报错SyntaxError: Unexpected token: name (xxxxxx) from Uglify plugin. 问题原因 打包时,部分代码没有从es6成功转化为es5,这部分代码经过查找,发现是由于elem