From 3c90049c21c44593678e494e193981543f5d52e0 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 24 Jun 2019 13:44:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E6=94=B9?= =?UTF-8?q?=E5=A4=9A=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/utils/aes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/utils/aes.js b/src/core/utils/aes.js index 1d739a8fa..9971ebdd4 100644 --- a/src/core/utils/aes.js +++ b/src/core/utils/aes.js @@ -2317,7 +2317,7 @@ * * var ciphertext = BI.aesEncrypt(text, key); */ - encrypt: function (text, key) { + aesEncrypt: function (text, key) { key = CryptoJS.enc.Utf8.parse(key); var cipher = CryptoJS.AES.encrypt(text, key, { mode: CryptoJS.mode.ECB,