diff --git a/hyjk.js b/hyjk.js index 5e27017..0267a57 100644 --- a/hyjk.js +++ b/hyjk.js @@ -152,6 +152,7 @@ class Task { } encrypt(body) { + global['window'] = {} const JSEncrypt = require("encryptlong") const JsRsaSign = require("jsrsasign")