微调
This commit is contained in:
@@ -444,6 +444,7 @@ const handleDevTypeChange = (value: string) => {
|
|||||||
formContent.value.devVolt = dev.devVolt; // 默认值为1
|
formContent.value.devVolt = dev.devVolt; // 默认值为1
|
||||||
formContent.value.icdId = dev.icd
|
formContent.value.icdId = dev.icd
|
||||||
formContent.value.power = dev.power
|
formContent.value.power = dev.power
|
||||||
|
if(scene.value === '1'){
|
||||||
if (dev.name.includes('NPQS-580')) {
|
if (dev.name.includes('NPQS-580')) {
|
||||||
formContent.value.encryptionFlag = 1
|
formContent.value.encryptionFlag = 1
|
||||||
formContent.value.series = 'Pqs&cn870299'
|
formContent.value.series = 'Pqs&cn870299'
|
||||||
@@ -453,6 +454,7 @@ const handleDevTypeChange = (value: string) => {
|
|||||||
formContent.value.series = null
|
formContent.value.series = null
|
||||||
formContent.value.devKey = null
|
formContent.value.devKey = null
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
formContent.value.devChns = 1; // 默认值为1
|
formContent.value.devChns = 1; // 默认值为1
|
||||||
formContent.value.devCurr = 1; // 默认值为1
|
formContent.value.devCurr = 1; // 默认值为1
|
||||||
|
|||||||
Reference in New Issue
Block a user