修复设备列表bug
This commit is contained in:
@ -483,6 +483,7 @@ const handleUpdate = async (row?: deviceForm) => {
|
|||||||
getDeviceType();
|
getDeviceType();
|
||||||
try {
|
try {
|
||||||
if (row) {
|
if (row) {
|
||||||
|
// 使用 nextTick 确保对话框完全渲染后再设置表单值
|
||||||
await nextTick();
|
await nextTick();
|
||||||
Object.assign(form.value, row);
|
Object.assign(form.value, row);
|
||||||
form.value.image = row.devicePic
|
form.value.image = row.devicePic
|
||||||
|
Reference in New Issue
Block a user