controller不对非本页面打开的链接进行拦截

Fix #145
添加修一下代码样式
Merge pull request #146 from ecomfe/3.1/hotfix/145

Fix #145