|
72 | 72 | </v-layout>
|
73 | 73 | </v-container>
|
74 | 74 | </v-tab-item>
|
| 75 | + <!-- |
75 | 76 | <v-tab-item>
|
76 | 77 | <v-container grid-list-md text-xs-center>
|
77 | 78 | <v-layout row wrap>
|
|
96 | 97 | <v-card-text>
|
97 | 98 | </v-card-text>
|
98 | 99 | </v-tab-item>
|
| 100 | +
|
| 101 | + --> |
99 | 102 | <v-tab-item>
|
100 | 103 | <v-container grid-list-md text-xs-center>
|
101 | 104 | <v-layout row wrap>
|
@@ -335,10 +338,12 @@ export default {
|
335 | 338 | data.power = [remoteConfig.move_power_angle_1, remoteConfig.move_power_angle_2, remoteConfig.move_power_angle_3]
|
336 | 339 | data.btnFun = remoteConfig.button_func
|
337 | 340 | // ?
|
| 341 | + /* |
338 | 342 | data.wifiMode = remoteConfig.wifi_mode
|
339 | 343 |
|
340 | 344 | data.wifiSSID = remoteConfig.wifi_ssid
|
341 | 345 | data.wifiPsw = remoteConfig.wifi_psk
|
| 346 | + */ |
342 | 347 | data.motorMode = remoteConfig.move_motor_mode
|
343 | 348 | data.trimFactor = remoteConfig.move_motor_trim
|
344 | 349 | data.startSound = remoteConfig.sound_start
|
@@ -366,13 +371,13 @@ export default {
|
366 | 371 | let CBv1 = this.CBv1
|
367 | 372 | let data = this.settings
|
368 | 373 |
|
369 |
| - if (selectedTab == 1) { |
| 374 | + if (selectedTab == 10) { |
370 | 375 | var valuesAsString = qs.stringify({
|
371 | 376 | 'wifi_mode': this.settings.wifiMode,
|
372 | 377 | 'wifi_ssid': this.settings.wifiSSID,
|
373 | 378 | 'wifi_psk': this.settings.wifiPsw,
|
374 | 379 | })
|
375 |
| - // Send post with URL encoded parameters |
| 380 | + // Send post with URL encoded parameters |
376 | 381 | axios.post(CBv1 + '/wifi', valuesAsString)
|
377 | 382 | .then(function() {
|
378 | 383 | console.log("Sent")
|
@@ -480,7 +485,8 @@ export default {
|
480 | 485 | },
|
481 | 486 | drawer: null,
|
482 | 487 | tab: null,
|
483 |
| - tabs: ['Generali', 'Rete', 'Movimento', 'Suoni', 'Avanzate'], |
| 488 | + //tabs: ['Generali', 'Rete', 'Movimento', 'Suoni', 'Avanzate'], |
| 489 | + tabs: ['Generali', 'Movimento', 'Suoni', 'Avanzate'], |
484 | 490 | }
|
485 | 491 | }
|
486 | 492 | }
|
|
0 commit comments