Commit 81749efc by Sxy

fix: 加解密

parent 1bd11672
...@@ -328,7 +328,7 @@ class System { ...@@ -328,7 +328,7 @@ class System {
iv: ivHex iv: ivHex
}); });
var plaintext = bytes.toString(cryptoJS.enc.Utf8); var plaintext = bytes.toString(cryptoJS.enc.Utf8);
return plaintext; return plaintext || opStr;
} catch (error) { } catch (error) {
return opStr; return opStr;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment