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]);