We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TS 的环境中,按照主页的方式
将 router.getRoutes() 的返回值值直接传递给 clearMenuItem 方法时,提示类型“RouteRecordNormalized[]”的参数不能赋给类型“RouteRecordRaw[] | RouteRecordNormalized[]”的参数。 不能将类型“RouteRecordNormalized[]”分配给类型“RouteRecordRaw[]”。
router.getRoutes()
clearMenuItem
版本: pro-layout 3.2.3 vue-router: 4.1.5
不应该有任何报错
大致看了下,两边的类型确实对应不上,请问这个问题能修复一下吗?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 Bug 描述 Bug description
TS 的环境中,按照主页的方式
将
router.getRoutes()
的返回值值直接传递给clearMenuItem
方法时,提示类型“RouteRecordNormalized[]”的参数不能赋给类型“RouteRecordRaw[] | RouteRecordNormalized[]”的参数。 不能将类型“RouteRecordNormalized[]”分配给类型“RouteRecordRaw[]”。版本:
pro-layout 3.2.3
vue-router: 4.1.5
🏞 期望结果 Desired result
不应该有任何报错
🚑 其他信息 Other information
大致看了下,两边的类型确实对应不上,请问这个问题能修复一下吗?
The text was updated successfully, but these errors were encountered: