修复用户视图路由参数传递方式,使用 fullPath() 方法替代空参数推送

This commit is contained in:
Chuck1sn
2025-06-16 11:56:37 +08:00
parent 5306e24aa2
commit 28eed04823

View File

@@ -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>