Commit 8bdf869e authored by hewenhao's avatar hewenhao

Merge branch 'feature/2023-07-25-captcha' into 'master'

Feature/2023 07 25 captcha See merge request wykolor/mall-webview!7
parents 8790ce86 a13c79e3
......@@ -173,7 +173,7 @@ const Bonus = defineComponent({
// 都正常的状态
router.push({
name: 'withdraw',
params: {
query: {
withdrawableTotal: state.bonusAccount?.withdrawableTotal || 0,
withdrawAccount: state.bonusAccount?.withdrawAccount || '',
withdrawAccountId: state.bonusAccount?.withdrawAccountId || ''
......
......@@ -100,7 +100,7 @@ const Withdraw = defineComponent({
withdrawResponse: {},
studentDailyWithdrawLimit: 0 // 学生单日提现上限
})
const { withdrawableTotal, withdrawAccount, withdrawAccountId } = route.params
const { withdrawableTotal, withdrawAccount, withdrawAccountId } = route.query
state.withdrawableTotal = Number(withdrawableTotal)
state.withdrawAccount = withdrawAccount as string
state.withdrawAccountId = withdrawAccountId as string
......
......@@ -165,7 +165,7 @@ export default defineComponent({
studentId: bonusStoreState.value.studentId,
smsVerifyCode: state.smsVerifyCode,
withdrawAmount: props.withdrawAmount,
withdrawAccountId: route.params.withdrawAccountId as string
withdrawAccountId: route.query.withdrawAccountId as string
}
const data = await withdraw(params)
context.emit('update:show', false)
......
......@@ -45,7 +45,7 @@ module.exports = defineConfig({
chainWebpack: config => {
config.plugin('html').tap(args => {
const minify = args[0].minify
args[0].minify = minify ? { ...minify, minifyJS: true } : minify
args[0].minify = { ...(minify || {}), minifyJS: true }
return args
})
......
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