提交
This commit is contained in:
1 parent
d08f03ab03
commit
cc843535f5
154 files changed
+17837
-5153
No files matched your search
@@ -354,8 +354,8 @@
|
||||
useCommon().refresh()
|
||||
return
|
||||
}
|
||||
// 强制重新加载:先将目标组件从 KeepAlive 缓存中排除
|
||||
store.addKeepAliveExclude(item)
|
||||
// 强制重新加载:先将目标组件从 KeepAlive 缓存中排除(force:标签仍在 opened 中也要排除)
|
||||
store.addKeepAliveExclude(item, { force: true })
|
||||
// 等待 Vue 处理 exclude 变更、清除缓存后再导航
|
||||
nextTick(() => {
|
||||
router.push({
|
||||
|
||||
Reference in new issue
Block a user