修改安全问题添加无网判断

This commit is contained in:
范鹏 2024-09-07 15:50:19 +08:00
parent 906ce2b0f0
commit a556de9f6e

View File

@ -45,7 +45,11 @@ export default {
}) })
} }
}, },
updateAnswer() { async updateAnswer() {
const netWork = await this.getNetworkType()
if(!netWork) {
return
}
this.routeJump({ this.routeJump({
type: 'redirectTo', type: 'redirectTo',
name: 'updateSafeQuestion' name: 'updateSafeQuestion'