Commit a13c79e3 authored by hewenhao's avatar hewenhao

feat: route params to route query

parent d33d9ec8
...@@ -165,7 +165,7 @@ export default defineComponent({ ...@@ -165,7 +165,7 @@ export default defineComponent({
studentId: bonusStoreState.value.studentId, studentId: bonusStoreState.value.studentId,
smsVerifyCode: state.smsVerifyCode, smsVerifyCode: state.smsVerifyCode,
withdrawAmount: props.withdrawAmount, withdrawAmount: props.withdrawAmount,
withdrawAccountId: route.params.withdrawAccountId as string withdrawAccountId: route.query.withdrawAccountId as string
} }
const data = await withdraw(params) const data = await withdraw(params)
context.emit('update:show', false) context.emit('update:show', false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment