Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 765 Bytes

CHANGE_LOG.md

File metadata and controls

24 lines (17 loc) · 765 Bytes

keep-alive-comp

v0.1.2

  • optimize: Only cache state/scrollTop, will not cache children;只缓存 state/scrollTop,不缓存子组件
  • feat: configKeepAlive
  • feat: Optional useStorage parameter ("sessionStorage"/"localStorage"), you can refresh the page and keep the cache (beforeRouteLeave has been called);可选 useStorage 参数("sessionStorage"/"localStorage"),可以刷新页面后,保持缓存(已调用beforeRouteLeave

v0.1.3

  • fix: getKeepAlive types

v0.1.4

  • configKeepAlive import from change:

    old:

      import configKeepAlive from 'keep-alive-comp/dist/configKeepAlive';

    new:

      import { configKeepAlive } from 'keep-alive-comp';