fix: 优化设备接入操作

This commit is contained in:
xieyonghong 2023-05-05 14:38:48 +08:00
parent 8ceaa25ff5
commit 9c0e91b57b
1 changed files with 3 additions and 0 deletions

View File

@ -523,6 +523,9 @@ const queryAccessDetail = async (id: string) => {
}).then((res: any) => {
if (res.status === 200) {
access.value = res.result.data[0];
if (access.value?.transportDetail?.metadata) {
productData.metadata = JSON.parse(access.value?.transportDetail?.metadata)
}
}
});
};