Browse Source

重获取隐藏旧图形

master
luyisha 2 years ago
parent
commit
bf457f2967
  1. 16
      pages/reg/index.vue

16
pages/reg/index.vue

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

Loading…
Cancel
Save