Browse Source

忘记密码

master
luyisha 2 years ago
parent
commit
fe7ecb618d
  1. 9
      pages/safe/forget-password.vue

9
pages/safe/forget-password.vue

@ -48,7 +48,8 @@
<view class="input color-light"> <view class="input color-light">
<v-input v-model="form.email_code" :placeholder="$t('safe.a6')"> <v-input v-model="form.email_code" :placeholder="$t('safe.a6')">
<template #right> <template #right>
<v-code url="/user/sendEmailCodeForgetPassword" :data="{email:form.account,gc_code: form.gc_code}"></v-code> <v-code url="/user/sendEmailCodeForgetPassword" :data="{email:form.account,gc_code: form.gc_code, gc_key: form.gc_key}"
@reGetGraphChe="reGetGraphChe"></v-code>
</template> </template>
</v-input> </v-input>
</view> </view>
@ -82,11 +83,11 @@ export default {
password: "", password: "",
password_confirmation: "", password_confirmation: "",
show:false, show:false,
gc_code: '' gc_code: '',
gc_key: '',// tuxiangyanzheng key
}, },
checkData: {}, checkData: {},
Graph_che:'', Graph_che:'',
gc_key:'', // tuxiangyanzheng key
hideImg: false hideImg: false
}; };
}, },
@ -153,7 +154,7 @@ export default {
} }
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.form.gc_key= res.data.key;
}); });
} }
}, },

Loading…
Cancel
Save