diff --git a/yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue b/yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue index 992cfbff71..10dd7f0b36 100644 --- a/yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue +++ b/yxt-as-ui/src/views/storage/upShelf/upShelfAdd.vue @@ -222,7 +222,7 @@ export default { this.formobj.list.splice(index, 1) }, inputCount(row) { - if (row.count !== '' && row.maxCount !== '' && parseFloat(row.count) - parseFloat(row.maxCount) < 0) { + if (row.count !== '' && row.maxCount !== '' && parseFloat(row.count) - parseFloat(row.maxCount) > 0) { row.count = row.maxCount } }