qxf #113

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

View File

@ -138,16 +138,30 @@ export default {
// console.log(this.$u.trim(this.zhanghaoA)); // console.log(this.$u.trim(this.zhanghaoA));
}, },
logins() { logins() {
//
uni.getNetworkType({
success: function (res) {
console.log(res.networkType);
if (res.networkType == 'none') {
this.$refs.uToast.show({
title: '网络似乎断开了,请检查网络后重试',
type: 'error'
});
}
}
});
// //
// console.log(this.zhanghao); // console.log(this.zhanghao);
if(this.clickstate==false){ if(this.clickstate==false){
this.clickstate=true this.clickstate=true
}else{ }else{
this.$refs.uToast.show({ // ,
title: "不能重复提交", // this.$refs.uToast.show({
type: 'error' // title: "",
}); // type: 'error'
return // });
// return
} }
// //
// uni.clearStorage(); // uni.clearStorage();