|
|
@ -121,7 +121,9 @@
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
onWifiSelect (wifi) {
|
|
|
|
onWifiSelect (wifi) {
|
|
|
|
if (wifi.secure) {
|
|
|
|
if (wifi.ssid === this.settings.system.wifi) {
|
|
|
|
|
|
|
|
this.nextStep()
|
|
|
|
|
|
|
|
} else if (wifi.secure) {
|
|
|
|
this.connectSSID = wifi.ssid
|
|
|
|
this.connectSSID = wifi.ssid
|
|
|
|
this.wifiPasswordModal = true
|
|
|
|
this.wifiPasswordModal = true
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
@ -143,6 +145,9 @@
|
|
|
|
stepBack () {
|
|
|
|
stepBack () {
|
|
|
|
this.$router.push('/setup/country')
|
|
|
|
this.$router.push('/setup/country')
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
nextStep () {
|
|
|
|
|
|
|
|
this.$router.push('/setup/weather')
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|