Skip to content
Snippets Groups Projects
Commit 4e0856a5 authored by 최지원's avatar 최지원
Browse files

Merge branch 'enter-key-event' into 'master'

Add enter-key-event in Login & MyPage

See merge request !8
parents e4951ca3 558ab989
No related branches found
No related tags found
1 merge request!8Add enter-key-event in Login & MyPage
......@@ -11,7 +11,9 @@
<v-text-field v-model="PW"
label="Password"
:type="passwordShow ? 'text' : 'password'"
required/>
required
v-on:keyup.enter="login"
/>
</v-flex>
<v-flex xs12 text-xs-right>
<v-btn class="mx-0 font-weight-light" color="success" @click="login">Login</v-btn>
......
......@@ -37,7 +37,7 @@
</v-card-text>
<v-flex xs12 md6>
<v-text-field v-model="PW" label="현재 PW" :type="passwordShow ? 'text' : 'password'" required/>
<v-text-field v-on:keyup.enter="edit" v-model="PW" label="현재 PW" :type="passwordShow ? 'text' : 'password'" required/>
</v-flex>
<v-card-actions>
......@@ -65,7 +65,7 @@
</v-card-text>
<v-flex xs12 md4>
<v-text-field v-model="PW" label="현재 PW" :type="passwordShow ? 'text' : 'password'" text-align= "required"/>
<v-text-field v-on:keyup.enter="edit" v-model="PW" label="현재 PW" :type="passwordShow ? 'text' : 'password'" text-align= "required"/>
</v-flex>
<v-card-text>
......@@ -73,7 +73,7 @@
</v-card-text>
<v-flex xs12 md4 center>
<v-text-field v-model="newPW" label="변경할 PW" :type="passwordShow ? 'text' : 'password'" required/>
<v-text-field v-on:keyup.enter="edit" v-model="newPW" label="변경할 PW" :type="passwordShow ? 'text' : 'password'" required/>
</v-flex>
<v-card-actions>
......@@ -204,7 +204,6 @@ export default {
else{
this.user_id=this.$store.state.userInfo._id;
this.id=this.$store.state.userInfo.ID;
// this.PW = this.$store.state.userInfo.PW;
this.name=this.$store.state.userInfo.name;
this.phone=this.$store.state.userInfo.phone;
this.email = this.$store.state.userInfo.email;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment