Skip to content

Commit

Permalink
更新login.ejs
Browse files Browse the repository at this point in the history
  • Loading branch information
hauk0101 committed Aug 24, 2017
1 parent 9c8e677 commit 0393bff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ router.get('/login', function (req, res) {
res.render('login',{data:{code:0,msg:'已登录!'}})
}
else{
res.render('login');
res.render('login',{data:null});
}
});
//权限登录处理
Expand Down
1 change: 1 addition & 0 deletions app/views/login.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
//为了方便起见,直接将逻辑写在页面中
</script>
</html>

0 comments on commit 0393bff

Please sign in to comment.