|
|
@ -56,15 +56,6 @@
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
activeName: 'register',
|
|
|
|
activeName: 'register',
|
|
|
|
loginForm: {
|
|
|
|
|
|
|
|
username: '',
|
|
|
|
|
|
|
|
password: ''
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
registerForm: {
|
|
|
|
|
|
|
|
username: '',
|
|
|
|
|
|
|
|
password: '',
|
|
|
|
|
|
|
|
confirm_password: ''
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
username: '',
|
|
|
|
username: '',
|
|
|
|
userInfo: {
|
|
|
|
userInfo: {
|
|
|
|
realname_flag: '',
|
|
|
|
realname_flag: '',
|
|
|
@ -99,7 +90,7 @@
|
|
|
|
if (result.code != 1000) {
|
|
|
|
if (result.code != 1000) {
|
|
|
|
return this.$message.error(response.data.message);
|
|
|
|
return this.$message.error(response.data.message);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.usernae = result.username;
|
|
|
|
this.username = result.username;
|
|
|
|
this.userInfo = result.userInfo;
|
|
|
|
this.userInfo = result.userInfo;
|
|
|
|
this.bankCard = result.bankCard;
|
|
|
|
this.bankCard = result.bankCard;
|
|
|
|
})
|
|
|
|
})
|
|
|
|