Authored by xuqi

left num

... ... @@ -47,7 +47,7 @@ exports.showStorage = (leftNumber) => {
leftNumber = +leftNumber;
if (leftNumber <= 3 && leftNumber >= 0) {
return `仅剩${leftNumber}件`;
return '余量有限';
} else if (leftNumber < 0) {
return '库存不足';
}
... ...
... ... @@ -7,7 +7,7 @@ module.exports = function(leftNumber) {
leftNumber = +leftNumber;
if (leftNumber <= 3 && leftNumber >= 0) {
return '仅剩' + leftNumber + '件';
return '余量有限';
} else if (leftNumber < 0) {
return '库存不足';
}
... ...