|
|
|
@ -76,7 +76,7 @@ |
|
|
|
<v-input class="color-light" v-model="form.gr_code" placeholder='Please enter graphic results'> |
|
|
|
<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,6 +104,7 @@ |
|
|
|
type:1 |
|
|
|
}" |
|
|
|
v-show="form.type==2" |
|
|
|
@reGetGraphChe="reGetGraphChe" |
|
|
|
></v-code> |
|
|
|
</template> |
|
|
|
</v-input> |
|
|
|
@ -258,13 +259,24 @@ export default { |
|
|
|
}); |
|
|
|
}, |
|
|
|
|
|
|
|
gett_gc_code(){ |
|
|
|
Member.Graph_che().then((res)=>{ |
|
|
|
console.log("gc",res.data.img) |
|
|
|
this.Graph_che = res.data.img; |
|
|
|
this.gc_key= res.data.key; |
|
|
|
}); |
|
|
|
//this.Graph_che = gc |
|
|
|
// 重新请求图形验证码 |
|
|
|
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; |
|
|
|
}); |
|
|
|
//this.Graph_che = gc |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|