iview-admin icon indicating copy to clipboard operation
iview-admin copied to clipboard

使用keepAlivePush设置缓存失效

Open lianwf opened this issue 3 years ago • 0 comments

基本代码块如下,设置之后页面没有缓存,请问还有其他需要配置的吗?

export default {
    name:'userManage-userList',
    created(){
       this.keepAlivePush('userManage-userList');
    },
    methods:{
          ...mapMutations('admin/page', [
              'keepAlivePush',
              'keepAliveRemove'
          ]),
    }

lianwf avatar Aug 15 '22 03:08 lianwf