一不小心点了重置 在数据库执行 delete from t_s_role_function where functionid not in (select id from t_s_function) 就可以了,