Merge pull request #136 from sh1luo/fix-empty-email-bug

fix: empty email bug
This commit is contained in:
Yang Luo
2021-07-01 22:46:26 +08:00
committed by GitHub

View File

@ -437,6 +437,7 @@ function maskString(s) {
}
export function maskEmail(email) {
if (email === "") return;
const tokens = email.split("@");
let username = tokens[0];
username = maskString(username);