扫描数量-1改为1,解决scantool获取指定扫描数量默认值为-1的问题;

This commit is contained in:
yangjiaxuan 2024-05-06 15:16:02 +08:00
parent 3c7ed20264
commit 4942f01fdf
8 changed files with 16 additions and 16 deletions

View File

@ -1088,8 +1088,8 @@
"title": " 扫描数量", "title": " 扫描数量",
"desc": "扫描指定数量", "desc": "扫描指定数量",
"type": "int", "type": "int",
"cur": -1, "cur": 1,
"default": -1, "default": 1,
"size": 4, "size": 4,
"depend_or": ["scan-mode==扫描指定张数"] "depend_or": ["scan-mode==扫描指定张数"]
}, },

View File

@ -1175,8 +1175,8 @@
"title": " 扫描数量", "title": " 扫描数量",
"desc": "扫描指定数量", "desc": "扫描指定数量",
"type": "int", "type": "int",
"cur": -1, "cur": 1,
"default": -1, "default": 1,
"size": 4, "size": 4,
"depend_or": ["scan-mode==扫描指定张数"] "depend_or": ["scan-mode==扫描指定张数"]
}, },

View File

@ -1140,8 +1140,8 @@
"title": " 扫描数量", "title": " 扫描数量",
"desc": "扫描指定数量", "desc": "扫描指定数量",
"type": "int", "type": "int",
"cur": -1, "cur": 1,
"default": -1, "default": 1,
"size": 4, "size": 4,
"depend_or": ["scan-mode==扫描指定张数"] "depend_or": ["scan-mode==扫描指定张数"]
}, },

View File

@ -1105,8 +1105,8 @@
"title": " 扫描数量", "title": " 扫描数量",
"desc": "扫描指定数量", "desc": "扫描指定数量",
"type": "int", "type": "int",
"cur": -1, "cur": 1,
"default": -1, "default": 1,
"size": 4, "size": 4,
"depend_or": ["scan-mode==扫描指定张数"] "depend_or": ["scan-mode==扫描指定张数"]
}, },

View File

@ -1140,8 +1140,8 @@
"title": " 扫描数量", "title": " 扫描数量",
"desc": "扫描指定数量", "desc": "扫描指定数量",
"type": "int", "type": "int",
"cur": -1, "cur": 1,
"default": -1, "default": 1,
"size": 4, "size": 4,
"depend_or": ["scan-mode==扫描指定张数"] "depend_or": ["scan-mode==扫描指定张数"]
}, },

View File

@ -1123,8 +1123,8 @@
"title": " 扫描数量", "title": " 扫描数量",
"desc": "扫描指定数量", "desc": "扫描指定数量",
"type": "int", "type": "int",
"cur": -1, "cur": 1,
"default": -1, "default": 1,
"size": 4, "size": 4,
"depend_or": ["scan-mode==扫描指定张数"] "depend_or": ["scan-mode==扫描指定张数"]
}, },

View File

@ -1105,8 +1105,8 @@
"title": " 扫描数量", "title": " 扫描数量",
"desc": "扫描指定数量", "desc": "扫描指定数量",
"type": "int", "type": "int",
"cur": -1, "cur": 1,
"default": -1, "default": 1,
"size": 4, "size": 4,
"depend_or": ["scan-mode==扫描指定张数"] "depend_or": ["scan-mode==扫描指定张数"]
}, },

View File

@ -1175,8 +1175,8 @@
"title": " 扫描数量", "title": " 扫描数量",
"desc": "扫描指定数量", "desc": "扫描指定数量",
"type": "int", "type": "int",
"cur": -1, "cur": 1,
"default": -1, "default": 1,
"size": 4, "size": 4,
"depend_and": ["is-wait-scan==false", "scan-mode==扫描指定张数"] "depend_and": ["is-wait-scan==false", "scan-mode==扫描指定张数"]
}, },