diff --git a/src/views/device-manage/device/components/CloudCommand.vue b/src/views/device-manage/device/components/CloudCommand.vue index 7e2cc12c..2e1b69a8 100644 --- a/src/views/device-manage/device/components/CloudCommand.vue +++ b/src/views/device-manage/device/components/CloudCommand.vue @@ -12,7 +12,7 @@ import { CloudCommandType } from '@/api/device-manage/device/types' defineProps<{ device?: Device }>() -const [registerModal, { openModal }] = useModal() +const [registerModal, { openModal }] = useModal<{ type: CloudCommandType, productId: string, deviceId: string }>() const commandTypes = [ { @@ -71,7 +71,14 @@ const [register, { reload }] = useTable({
- + 下发 diff --git a/src/views/device-manage/device/components/SendCommandModal.vue b/src/views/device-manage/device/components/SendCommandModal.vue index 56bbe00d..7e4e764a 100644 --- a/src/views/device-manage/device/components/SendCommandModal.vue +++ b/src/views/device-manage/device/components/SendCommandModal.vue @@ -1,5 +1,4 @@