@@ -209,7 +209,6 @@
},
getPic(){
let that = this;
- // ALog.info({msg: "OCR"})
ocr.ocrVehicleNo((ret) => {
if (ret.success){
that.vehicleNo = ret.vehicleNo;
@@ -32,8 +32,8 @@
pic:'https://uviewui.com/common/logo.png',
userInfo:[],
form:{
- name:'9345',
- password:'000000',
+ name:'',
+ password:'',
passCheck:false,
deviceNo: ''
@@ -93,9 +93,10 @@
data:{name:this.form.name,password:this.form.password}
});
}else{
- uni.removeStorage({
- key:'loginData'
- })
+ uni.setStorage({
+ key:'loginData',
+ data:{name:this.form.name}
+ });
};
// this.$u.route('pages/index/index', {});
uni.redirectTo({