修复设备列表bug
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user