mirror of
https://github.com/ccmjga/zhilu-admin
synced 2026-03-13 21:27:19 +08:00
修复用户视图路由参数传递方式,使用 fullPath() 方法替代空参数推送
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
<li>
|
||||
<button @click="() => {
|
||||
userDropDownMenu?.toggle()
|
||||
router.push(Routes.USERVIEW.withParams({}))
|
||||
router.push(Routes.USERVIEW.fullPath())
|
||||
}" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 "
|
||||
role="menuitem">Dashboard</button>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user