From 890f46c04ec6e3251807519778b9dcc8be1103db Mon Sep 17 00:00:00 2001 From: leiqiaochu Date: Thu, 26 Oct 2023 16:12:53 +0800 Subject: [PATCH] fix: bug#19181 --- .../Instance/Detail/components/BindParentDevice/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/device/Instance/Detail/components/BindParentDevice/index.vue b/src/views/device/Instance/Detail/components/BindParentDevice/index.vue index 15235677..c19f882f 100644 --- a/src/views/device/Instance/Detail/components/BindParentDevice/index.vue +++ b/src/views/device/Instance/Detail/components/BindParentDevice/index.vue @@ -155,7 +155,7 @@ const handleOk = () => { return; } btnLoading.value = true; - bindDevice(_selectedRowKeys.value[0], props.data.id, ) + bindDevice(_selectedRowKeys.value[0], [props.data.id]) .then((resp) => { if(resp.status === 200){ emit('ok', _selectedRowKeys.value[0]);