qiankun多页签:开启keepAlive后,解决同一路由打开多个tab页数据一样问题
前言
<keep-alive :key="$route.fullPath" :include="keepAlive">
<router-view />
</keep-alive>
<keep-alive :include="keepAlive">
<router-view :key="keepAliveKey" />
</keep-alive>
参考:
多页签打开同一个路由(query或者params参数不一样)保活数据导致页面显示一样的问题