Commit 97275a0e authored by hewenhao's avatar hewenhao

feat: update

parent 1e5570ed
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
BUILD_MODE=production BUILD_MODE=production
# 微信小程序appid # 微信小程序appid
WEAPP_ID=wxb1383b0817e6206b WEAPP_ID=wx8f25def587982a19
# 服务器接口地址 # 服务器接口地址
SERVER_ENDPOINT=https://geek.jkwljy.com SERVER_ENDPOINT=https://geek.jkwljy.com
......
...@@ -41,6 +41,9 @@ const Scene6 = (props: Scene6Props) => { ...@@ -41,6 +41,9 @@ const Scene6 = (props: Scene6Props) => {
} }
updateNickNameAndPhone({ code: e.detail.code!, name }) updateNickNameAndPhone({ code: e.detail.code!, name })
.then(() => onNext()) .then(() => onNext())
.catch(err => {
console.log(err)
})
}, [updateNickNameAndPhone, onNext, name]) }, [updateNickNameAndPhone, onNext, name])
const handleGen = useCallback(() => { const handleGen = useCallback(() => {
......
...@@ -53,6 +53,7 @@ const userModel: UserModel = { ...@@ -53,6 +53,7 @@ const userModel: UserModel = {
}) })
console.log(err) console.log(err)
} }
throw err
} }
}), }),
......
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