项目正常启动
This commit is contained in:
16
pages/sense/types.uts
Normal file
16
pages/sense/types.uts
Normal file
@@ -0,0 +1,16 @@
|
||||
// 设备信息类型
|
||||
export type DeviceInfo = {
|
||||
id: string
|
||||
device_name?: string
|
||||
status?: string // 'online' | 'offline' | 其他状态
|
||||
user_id?: string
|
||||
// 可根据实际需求添加更多字段
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
// 设备查询参数类型
|
||||
export type DeviceParams = {
|
||||
user_id: string
|
||||
// 可根据实际需求添加更多查询参数
|
||||
[key: string]: any
|
||||
}
|
||||
Reference in New Issue
Block a user