refactor(device): 解决个人中心消息报错、添加事件组件类型映射

This commit is contained in:
fhysy 2025-04-22 11:38:44 +08:00
parent 32ed53f92b
commit cb2a53ebc9
1 changed files with 17 additions and 0 deletions

View File

@ -82,6 +82,23 @@ const visible = ref<boolean>(false);
const info = ref<Record<string, any>>({});
const objectKey = ref<Array>([]);
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);