Commit be6f74c6 by 胡悦

1

1 parent 3c957c88
......@@ -51,7 +51,6 @@ const getUserInfo = async() => {
}
// 修改个人信息
const update = async(values: object) => {
console.log(values, userData.userInfo)
const params: {cardName?: string, id?: string,authStatus?: number} = {...values}
const {id, name, authStatus} = userData.userInfo
params.cardName = name
......@@ -59,7 +58,6 @@ const update = async(values: object) => {
params.authStatus = authStatus
const res = await req('scrm.api.renewal.h5.customer.update', params, true)
const {code, data, message} = res
console.log(res)
if (code == 0) {
Toast('修改成功')
router.go(-1)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!