This commit is contained in:
joylink_zhaoerwei 2023-08-23 17:16:40 +08:00
parent 91c6290513
commit 283e576442

View File

@ -201,6 +201,7 @@ async function onSubmit() {
async function searchById(id: number) { async function searchById(id: number) {
try { try {
handleState.value = '编辑范围配置'; handleState.value = '编辑范围配置';
clearSelect();
editId = id; editId = id;
const response = await queryDeviceRangeById(id); const response = await queryDeviceRangeById(id);
rangeConfig.areaName = response.data.areaName; rangeConfig.areaName = response.data.areaName;