fix(mqtt): schema use drop drown selection button for QoS setting

This commit is contained in:
eeff
2023-04-04 09:52:23 +08:00
parent 9a5acae7f3
commit e6052a934e
+15 -3
View File
@@ -16,12 +16,24 @@
"name_zh": "QoS 等级",
"description": "MQTT QoS level for message delivery",
"description_zh": "MQTT消息传输使用的服务质量等级",
"type": "int",
"type": "map",
"attribute": "optional",
"default": 0,
"valid": {
"min": 0,
"max": 2
"map": [
{
"key": "QoS 0",
"value": 0
},
{
"key": "QoS 1",
"value": 1
},
{
"key": "QoS 2",
"value": 2
}
]
}
},
"format": {