afterAction和redirect方法bug修复