Skip to content

新增属性: routerMode

Compare
Choose a tag to compare
@levy9527 levy9527 released this 20 Oct 10:49
· 349 commits to master since this release

Feature:增强查询持久化功能

  • routerMode 默认为 hash, 对应hash模式路由,查询参数放在location.hash中
  • routerMode为history时,对应history模式路由,查询参数放在location.search中
  • routerMode为空字符串时,查询参数不放到url上

Bugfix:分页参数问题

  • 每次点击查询按钮, page重置为第一页
  • 每次改变size, page重置为第一页