忘记密码code修改
This commit is contained in:
parent
39c30a0a4e
commit
5e4855ccd9
|
|
@ -852,7 +852,7 @@ const handleMarketFormLinkage = async (type: 'level' | 'parentAccountName', valu
|
||||||
const levelNum = Number(marketForm.value?.level)
|
const levelNum = Number(marketForm.value?.level)
|
||||||
if (levelNum === 5) flag = 1
|
if (levelNum === 5) flag = 1
|
||||||
if (levelNum === 6) flag = 2
|
if (levelNum === 6) flag = 2
|
||||||
console.log('datasssssssssssss', marketForm.value)
|
console.log('datasssssssssssss', marketForm.value)
|
||||||
const data = await getParAgentListApi({ role_id: +value === 6 ? 5 : value, flag })
|
const data = await getParAgentListApi({ role_id: +value === 6 ? 5 : value, flag })
|
||||||
// 格式化下拉选项
|
// 格式化下拉选项
|
||||||
marketFormOptionsMap.value.parentAccountName = data.map((item: any) => ({
|
marketFormOptionsMap.value.parentAccountName = data.map((item: any) => ({
|
||||||
|
|
|
||||||
|
|
@ -165,7 +165,7 @@ const sendCodeApi = async () => {
|
||||||
const sendParams = {
|
const sendParams = {
|
||||||
email: forgotPasswordForm.value.email,
|
email: forgotPasswordForm.value.email,
|
||||||
mobile: forgotPasswordForm.value.phone,
|
mobile: forgotPasswordForm.value.phone,
|
||||||
type: 'transfer_code'
|
type: 'resetPass_code'
|
||||||
}
|
}
|
||||||
return userStore.sendCode(sendParams)
|
return userStore.sendCode(sendParams)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue