diff --git a/src/views/device/Instance/Detail/Running/Event/index.vue b/src/views/device/Instance/Detail/Running/Event/index.vue index 950b377b..f1f26d75 100644 --- a/src/views/device/Instance/Detail/Running/Event/index.vue +++ b/src/views/device/Instance/Detail/Running/Event/index.vue @@ -82,6 +82,23 @@ const visible = ref(false); const info = ref>({}); const objectKey = ref([]); +const componentsType = { + int: 'number', + long: 'number', + float: 'number', + double: 'number', + string: 'string', + array: 'string', + password: 'string', + enum: 'select', + boolean: 'select', + date: 'date', + object: 'string', + geoPoint: 'string', + file: 'string', + time: 'time', +} + const _getEventList = (_params: any) => getEventList(instanceStore.current.id || '', events.data.id || '', _params);