fix: 优化设备接入操作
This commit is contained in:
parent
8ceaa25ff5
commit
9c0e91b57b
|
@ -523,6 +523,9 @@ const queryAccessDetail = async (id: string) => {
|
||||||
}).then((res: any) => {
|
}).then((res: any) => {
|
||||||
if (res.status === 200) {
|
if (res.status === 200) {
|
||||||
access.value = res.result.data[0];
|
access.value = res.result.data[0];
|
||||||
|
if (access.value?.transportDetail?.metadata) {
|
||||||
|
productData.metadata = JSON.parse(access.value?.transportDetail?.metadata)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue