修复设备列表bug

This commit is contained in:
fengerli
2025-07-18 09:37:57 +08:00
parent fb8bbbf5f5
commit 84aa490c20

View File

@ -483,6 +483,7 @@ const handleUpdate = async (row?: deviceForm) => {
getDeviceType();
try {
if (row) {
// 使用 nextTick 确保对话框完全渲染后再设置表单值
await nextTick();
Object.assign(form.value, row);
form.value.image = row.devicePic