shawenguan 2 年 前
コミット
d1994f159f
2 ファイル変更3 行追加2 行削除
  1. 2 1
      BoxJsSub/release.json
  2. 1 1
      Scripts/thwj/thwjHelper.js

+ 2 - 1
BoxJsSub/release.json

@@ -97,7 +97,8 @@
       ],
       "scripts": [],
       "keys": [
-        "lkThwjUserListKey"
+        "lkThwjUserListKey",
+        "lkThwjCommonCookieKey"
       ],
       "settings": [
         {

+ 1 - 1
Scripts/thwj/thwjHelper.js

@@ -212,7 +212,7 @@ function loadIndex() {
 
 function base64encode(str) {
     let CryptoJS = createCryptoJS();
-    let data = CryptoJS.enc.Latin1.parse(str);
+    let data = CryptoJS.enc.Utf16.parse(str);
     let base64Data = CryptoJS.enc.Base64.stringify(data);
     return 'data:image/png;base64,' + base64Data;
 }