This commit is contained in:
2019-04-10 18:08:50 +08:00
parent 9623b70875
commit 6e7388ddf4
9 changed files with 71 additions and 81 deletions

View File

@@ -6,7 +6,7 @@ const login = ({username, pwd}) => {
const logout = () => {
red.getJSON("/user/logout",{}, function () {
red.showMsg({msg:"退出成功"});
red.showOk('退出成功')
setTimeout(() => {
location.href = "/user/login.html";
}, 2000)