diff --git a/frontend/src/store/user/index.js b/frontend/src/store/user/index.js index be9e187c5b..a5d7ae2bc8 100644 --- a/frontend/src/store/user/index.js +++ b/frontend/src/store/user/index.js @@ -24,7 +24,7 @@ function writeCookie (userName) { function getInitState () { - const userName = readCookie(COOKIE_NAME); + const userName = decodeURIComponent(readCookie(COOKIE_NAME)); const showDialog = !userName; return new $Map({ userName, showDialog }); }