微调
This commit is contained in:
parent
e35637524d
commit
ae23f7de71
@ -220,6 +220,7 @@ let alertDeviceList: DeviceConfigItem[] = [];
|
|||||||
|
|
||||||
async function searchAlertDevice() {
|
async function searchAlertDevice() {
|
||||||
try {
|
try {
|
||||||
|
optionsAlertDevice.value = [];
|
||||||
const type = (saveAlertTypeData as never)[alertType.value];
|
const type = (saveAlertTypeData as never)[alertType.value];
|
||||||
alertDeviceList = await getDeviceByAlarmType(3, type);
|
alertDeviceList = await getDeviceByAlarmType(3, type);
|
||||||
optionsAlertDevice.value = alertDeviceList.map((item) => item.name);
|
optionsAlertDevice.value = alertDeviceList.map((item) => item.name);
|
||||||
|
Loading…
Reference in New Issue
Block a user