天天看點

vue3 TypeError: Cannot read property ‘parentNode‘ of null

添加一個 404 路由試試

{
	path: "/:pathMatch(.*)*",
	name: "notFound",
	component: notFound,  // 引入 元件
	},