fixed var names in website

This commit is contained in:
ori
2019-08-20 13:26:48 -07:00
parent fa49aabf74
commit 7734a89c88
6 changed files with 12 additions and 7 deletions

View File

@@ -82,6 +82,7 @@
'team_number':this.team_number,
'connection_type':this.connection_type,
'ip':this.ip,
'netmask':this.netmask,
'gateway':this.gateway,
'hostname':this.hostname}});
}
@@ -115,7 +116,7 @@
get: function(){
return this.$store.state.netmask;
},
set: function(){
set: function(value){
this.$store.commit('netmask',value);
}
},
@@ -136,7 +137,7 @@
}
},
isConnection: function(){
if(this.connectionType == "DHCP"){
if(this.connection_type == "DHCP"){
return true
} else{
return false

View File

@@ -70,7 +70,7 @@ export const store = new Vuex.Store({
connection_type: set('connection_type'),
ip: set('ip'),
netmask: set('netmask'),
gateWay : set('gateway'),
gateway : set('gateway'),
hostname : set('hostname'),
is_binary: set('is_binary'),
cameraList : set('cameraList'),
@@ -102,7 +102,7 @@ export const store = new Vuex.Store({
connection_type: state => state.connectionType,
ip: state => state.ip,
netmask: state => state.netmask,
gateWay: state => state.gateWay,
gateway: state => state.gateway,
hostname: state => state.hostName,
is_binary: state => state.is_binary,
cameraList: state => state.cameraList,