code: function(url) {
              url = (url || '').replace(/\#.*?$/, '');
              url = url.replace('?pjax=true&', '?').replace('?pjax=true', '').replace('&pjax=true', '');
              return url;
          }
docs: 获取URL不带hash的部分,切去掉pjax=true部分