给accordion添加pathname选项