vue 跳转路由 name值要对应
this.$router.push({ path: "/roomType/edit", name: "roomTypeEdit", params: { id: row._id, }, }); { path: '/roomType/edit', name: 'roomTypeEdit', component: roomTypeEdit, meta: { requiredAth: true, } },
this.$router.push({ path: "/roomType/edit", name: "roomTypeEdit", params: { id: row._id, }, }); { path: '/roomType/edit', name: 'roomTypeEdit', component: roomTypeEdit, meta: { requiredAth: true, } },