会员详情页的跳转携带参数方式改为params

(cherry picked from commit d1bb736973)
This commit is contained in:
绮梦
2023-08-23 13:12:05 +08:00
committed by shizhong
parent a845a420b5
commit 2804d199c0
3 changed files with 3 additions and 5 deletions

View File

@ -183,7 +183,7 @@ const resetQuery = () => {
const { push } = useRouter()
const goMemberDetail = (id: number) => {
push({ path: 'user/detail', query: { member_id: id } })
push({ name: 'MemberUserDetail', params: { member_id: id } })
}
/** 初始化 **/