fix:修改多次点击数据丢失问题

This commit is contained in:
zhaohy
2024-07-18 15:17:32 +08:00
parent 4e17163c67
commit 4955c235cc
8 changed files with 61 additions and 61 deletions

View File

@@ -215,7 +215,7 @@
pageNum: 1,
pageSize: 99,
},
placeholder: '请选择设备点位',
placeholder: '请选择设备名称',
resultField: 'data.records',
labelField: 'deviceName',
valueField: 'id',

View File

@@ -196,8 +196,8 @@
});
};
//选择设备方法
const selectDevice = (value: string) => {
console.log(`selected ${value}`);
const selectDevice = () => {
getDevicePoint({ id: infoObject.value.deviceName });
};
//获取设备列表
const getDevicePage = (value: any) => {