history history url样例 特点 hash history /#/user/profile 不需要服务器支持 browser history /user/profile react-router官方推荐,需要服务器支持(因为是SPA项目,url切换时需要服务器始终返回index.html...
create_time为时间格式(字段名create_time 根据自己表字段修改,数据库中存为201610071202) SELECT DATE_FORMAT(create_time, ' %Y%u ' ) weeks, COUNT (id) COUNT FROM role GROUP BY week...