feat: ✨ 优化合并的代码 完成刷新单页面功能
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export default {
|
||||
beforeRouteEnter (to, from, next) {
|
||||
from.meta[from.path] = Date.now()
|
||||
from.meta[`__stamp-${from.path}`] = Date.now()
|
||||
next(instance => instance.$router.replace({ path: from.fullPath, meta: from.meta }))
|
||||
},
|
||||
render: h => h()
|
||||
|
||||
Reference in New Issue
Block a user