Vue3源码-响应式系统-依赖收集和派发更新流程浅析 Vue3源码-响应式系统-Object、Array数据响应式总结 Vue3源码-响应式系统-Set、Map数据响应式总结 Vue3源码-响应式系统-ref、shallow、readonly相关浅析 Vue3源码-整体流程浅析 Vue3源码-diff算法-patchKeyChildren流程浅析 ...
Fixed the problem of invalid routing meta.transition.name configuration Fixed the problem that the right-click tab page panel cannot be closed when clicking on the iframe page and the right-click tab page panel is blocked when on the iframe page Fixed the problem of missing parameters when clic...
import type { NavigationGuard } from 'vue-router'; declare module 'vue-router' { interface RouteMeta { requiresAuth?: boolean; } } export const requiresAuthNavGuard: NavigationGuard = (to) => { if (to.matched.some((record) => record.meta.requiresAuth)) { const { isAuthenticated } =...
layout->user-dropdown: resolve warning "Invalid prop name: key is a reserved property" (#3640) (eae68bb), closes #3639 layout: 修复切换导航栏模式,分割菜单的状态不同步,导致页面内容区域存在被遮挡的问题 (#3519) (50276cb) LayoutSidre: resolve the breakpoint conflict. resolve #3605 (1a7ae...
To redirect the user to trailing slash routes (or the opposite), you can setup a beforeEach navigation guard that ensures the presence of a trailing slash: router.beforeEach((to, from, next) => { if (to.path.endsWith('/')) next() else next({ path: to.path + '/', query: to....