qxf #113

Merged
qxf merged 13 commits from qxf into master 2020-11-27 11:41:51 +08:00
Showing only changes of commit 99ab0696ba - Show all commits

View File

@ -79,7 +79,7 @@ export default {
phone: "",
code: "",
state:0,
clickstate:false,
// clickstate:false,
//
timer: null,
is_sendcode: false, // 60s
@ -138,37 +138,33 @@ export default {
// console.log(this.$u.trim(this.zhanghaoA));
},
logins() {
//
uni.getNetworkType({
success: function (res) {
success: (res) => {
console.log(res.networkType);
if (res.networkType == 'none') {
this.$refs.uToast.show({
title: '网络似乎断开了,请检查网络后重试',
type: 'error'
});
}
}
},
fail: function () {
this.$refs.uToast.show({
title: '网络似乎断开了,请检查网络后重试!',
type: 'error'
});
}
});
//
// console.log(this.zhanghao);
if(this.clickstate==false){
this.clickstate=true
}else{
// if(this.clickstate==false){
// this.clickstate=true
// }else{
// ,
// this.$refs.uToast.show({
// title: "",
// type: 'error'
// });
// return
}
// }
//
// uni.clearStorage();
// 10
@ -177,7 +173,7 @@ export default {
console.log(JSON.stringify(res))
if (res.errCode != 0) {
//
this.clickstate=false
// this.clickstate=false
this.$refs.uToast.show({
title: res.message,
type: 'error'
@ -228,7 +224,7 @@ export default {
console.log(JSON.stringify(res))
if (res.errCode != 0) {
//
this.clickstate=false
// this.clickstate=false
this.$refs.uToast.show({
title: res.message,
type: 'error'