diff --git a/compontent/public/exit.vue b/compontent/public/exit.vue index 15b2c90..9152b4c 100644 --- a/compontent/public/exit.vue +++ b/compontent/public/exit.vue @@ -28,7 +28,7 @@ }, cont:{ type: String, - default: '' + default: '是否退出登录?' } }); @@ -39,7 +39,14 @@ emit('close'); } const go = () => { - emit('go'); + if(props.cont=='是否退出登录?'){ + uni.clearStorage() + uni.reLaunch({ + url:'/pages/login/index' + }) + }else{ + emit('go'); + } } diff --git a/pages/addjigou/all.vue b/pages/addjigou/all.vue index 87559f0..53e85de 100644 --- a/pages/addjigou/all.vue +++ b/pages/addjigou/all.vue @@ -33,7 +33,7 @@ 人像面 - 请上传身份证人像面 + 国徽面 - 请上传身份证国徽面 +