Vue路由的使用中:uncaught typeerror: cannot use ‘in‘ operator to search for ‘path‘ in undefined
uncaughttypeerror:cannotuse‘in’operatortosearchfor‘path’inundefined问题解决主要是问题在router.js中个人代码不熟悉import{createRouter,createWebHistory}from'vue-router'importloginVuefrom'@/views/login.vue'importlayoutVuef