乐趣区

关于javascript:antd-pro-vue-设置路由缓存antd-pro-vue-keepalive-不生效处理

在 router.config.js 中批改为

const RouteView = {
  name: 'RouteView',
  // render: h => h('router-view')
  render() {
    const inKeep = (
      <keep-alive>
        <router-view></router-view>
      </keep-alive>
    )
    return inKeep
  }
}
退出移动版