fix: 清空文本框信息
This commit is contained in:
parent
9b22abac43
commit
06a9d4541c
|
@ -688,6 +688,20 @@ const handleBlockClick = async (deviceId, name, type) => {
|
||||||
showWarningMessage('Device ID is null');
|
showWarningMessage('Device ID is null');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 增加一个处理,当点击切换block时,将信息框信息都清空
|
||||||
|
id.value = '';
|
||||||
|
currentStatus.value = '';
|
||||||
|
startTimeFormatted.value = '';
|
||||||
|
endTimeFormatted.value = '';
|
||||||
|
duration.value = '';
|
||||||
|
productFlowRate.value = '';
|
||||||
|
formula.value = '';
|
||||||
|
mixerStep.value = ''; // 清空 step 字段
|
||||||
|
selectedReason.value = '';
|
||||||
|
blendStatus.value = '';
|
||||||
|
capacity.value = '';
|
||||||
|
|
||||||
currentTitle.value = name;
|
currentTitle.value = name;
|
||||||
globalDeviceId.value = deviceId;
|
globalDeviceId.value = deviceId;
|
||||||
deviceType.value = type;
|
deviceType.value = type;
|
||||||
|
|
Loading…
Reference in New Issue