微调
This commit is contained in:
@@ -428,10 +428,20 @@ const handleDevTypeChange = (value: string) => {
|
||||
formContent.value.devVolt = dev.devVolt; // 默认值为1
|
||||
formContent.value.icdId = dev.icd
|
||||
formContent.value.power = dev.power
|
||||
if(dev.name.includes('882B')){
|
||||
formContent.value.ip = '172.17.102.220'
|
||||
}else if(dev.name.includes('882A')){
|
||||
formContent.value.ip = '172.17.102.221'
|
||||
}else{
|
||||
formContent.value.ip = '172.17.102.200'
|
||||
}
|
||||
|
||||
|
||||
} else {
|
||||
formContent.value.devChns = 1; // 默认值为1
|
||||
formContent.value.devCurr = 1; // 默认值为1
|
||||
formContent.value.devVolt = 57.74; // 默认值为1
|
||||
formContent.value.ip = '172.17.102.200'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user