|
|
|
@ -216,7 +216,13 @@ |
|
|
|
uni.getNetworkType({ |
|
|
|
success: (res) => { |
|
|
|
console.log(res.networkType, s); |
|
|
|
if (res.networkType !== 'none') { |
|
|
|
if (res.networkType == 'none') { |
|
|
|
uni.showToast({ |
|
|
|
icon: 'none', |
|
|
|
title: 'Please connect to the network', |
|
|
|
duration: 3000, |
|
|
|
}) |
|
|
|
} else if (res.networkType !== 'none') { |
|
|
|
that.typee = 2; |
|
|
|
clearInterval(time); |
|
|
|
let home = 'HOME' |
|
|
|
|