|
@@ -1653,7 +1653,7 @@ const handleDeviceChange = (value: CascaderValue<DeviceItem>, context: CascaderC
|
|
|
data.pen.description = context.node.label
|
|
|
Object.assign(data.pen.hvacDeviceInfo, context.node.data)
|
|
|
|
|
|
- if (isHvacValvePen.value) {
|
|
|
+ if (data.pen.hvacValveType === "") {
|
|
|
switch (context.node.data.deviceType) {
|
|
|
case DeviceType.冷水主机:
|
|
|
data.pen.hvacValveType = ValveType.冷冻侧阀;
|