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