|
|
|
@ -76,7 +76,7 @@ |
|
|
|
<v-input class="color-light" v-model="form.gr_code" :placeholder="$t('homeNewText.ee6')"> |
|
|
|
<template #right> |
|
|
|
<!-- 邮箱 --> |
|
|
|
<img :src="Graph_che" @click="gett_gc_code"> |
|
|
|
<img :src="Graph_che" @click="gett_gc_code" v-if="!hideImg"> |
|
|
|
</template> |
|
|
|
</v-input> |
|
|
|
</view> |
|
|
|
@ -104,7 +104,7 @@ |
|
|
|
gc_key: gc_key, |
|
|
|
}" |
|
|
|
v-show="form.type==2" |
|
|
|
@reGetGraphChe="gett_gc_code" |
|
|
|
@reGetGraphChe="reGetGraphChe" |
|
|
|
></v-code> |
|
|
|
<!-- <v-code |
|
|
|
url="/register/sendEmailCode" |
|
|
|
@ -208,6 +208,7 @@ export default { |
|
|
|
color:'#485967' |
|
|
|
}], |
|
|
|
sendAAA: false, |
|
|
|
hideImg: false |
|
|
|
}; |
|
|
|
|
|
|
|
}, |
|
|
|
@ -288,8 +289,19 @@ export default { |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
// 重新请求图形验证码 |
|
|
|
reGetGraphChe(){ |
|
|
|
this.hideImg = true; |
|
|
|
this.gett_gc_code(); |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// |
|
|
|
gett_gc_code(){ |
|
|
|
Member.Graph_che().then((res)=>{ |
|
|
|
if(res.code==200){ |
|
|
|
this.hideImg = false; |
|
|
|
} |
|
|
|
console.log("gc",res.data.img) |
|
|
|
this.Graph_che = res.data.img; |
|
|
|
this.gc_key= res.data.key; |
|
|
|
|