W1one opened this issue 3 years ago · 1 comments
我在js中有这样一段: var CryptoJS = require("crypto-js"); 复制到Exec js中会报错: org.mozilla.javascript.EcmaError: ReferenceError: "require" is not defined. (RhinoEngine#2)
该怎么解决呢?
require是引入模块的功能,暂不支持哦,需要把模块源码都贴进去才能用。
require