Remember me功能增加判斷,若有儲存帳密checkbok = true,反之checkbok = false
@ -191,8 +191,18 @@
},
created(){
mounted(){
if(this.$auth.$storage.getUniversal('userAccount') && this.$auth.$storage.getUniversal('userPassword')){
this.remember = true;
}else{
this.remember = false;
}
var userAccount = this.$auth.$storage.getUniversal('userAccount');
var userPassword = this.$auth.$storage.getUniversal('userPassword');