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({ ...@@ -173,7 +173,7 @@ const Bonus = defineComponent({
// 都正常的状态 // 都正常的状态
router.push({ router.push({
name: 'withdraw', name: 'withdraw',
params: { query: {
withdrawableTotal: state.bonusAccount?.withdrawableTotal || 0, withdrawableTotal: state.bonusAccount?.withdrawableTotal || 0,
withdrawAccount: state.bonusAccount?.withdrawAccount || '', withdrawAccount: state.bonusAccount?.withdrawAccount || '',
withdrawAccountId: state.bonusAccount?.withdrawAccountId || '' withdrawAccountId: state.bonusAccount?.withdrawAccountId || ''
......
...@@ -100,7 +100,7 @@ const Withdraw = defineComponent({ ...@@ -100,7 +100,7 @@ const Withdraw = defineComponent({
withdrawResponse: {}, withdrawResponse: {},
studentDailyWithdrawLimit: 0 // 学生单日提现上限 studentDailyWithdrawLimit: 0 // 学生单日提现上限
}) })
const { withdrawableTotal, withdrawAccount, withdrawAccountId } = route.params const { withdrawableTotal, withdrawAccount, withdrawAccountId } = route.query
state.withdrawableTotal = Number(withdrawableTotal) state.withdrawableTotal = Number(withdrawableTotal)
state.withdrawAccount = withdrawAccount as string state.withdrawAccount = withdrawAccount as string
state.withdrawAccountId = withdrawAccountId as string state.withdrawAccountId = withdrawAccountId as string
......
...@@ -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)
......
...@@ -45,7 +45,7 @@ module.exports = defineConfig({ ...@@ -45,7 +45,7 @@ module.exports = defineConfig({
chainWebpack: config => { chainWebpack: config => {
config.plugin('html').tap(args => { config.plugin('html').tap(args => {
const minify = args[0].minify const minify = args[0].minify
args[0].minify = minify ? { ...minify, minifyJS: true } : minify args[0].minify = { ...(minify || {}), minifyJS: true }
return args 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