yangc 8 years ago
parent
commit
2158c041fa

+ 2 - 2
src/main/webapp/resources/js/usercenter/controllers/forstore/seek_purchase_ctrl.js

@@ -214,8 +214,8 @@ define(['app/app'], function (app) {
                 }
               }
               $scope.applyObj.amount = cutOutString($scope.applyObj.amount, chineseIndex);
-            } else if ($scope.applyObj.amount.length > 8) {
-              $scope.applyObj.amount = cutOutString($scope.applyObj.amount, 8);
+            } else if ($scope.applyObj.amount.length > 9) {
+              $scope.applyObj.amount = cutOutString($scope.applyObj.amount, 9);
             }
           }
           $scope.onEncapsulationChange = function () {