소스 검색

fix: bugs

cuiyalong 3 년 전
부모
커밋
830969eaad
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/web/staticres/common-module/area-pack/js/buy.js

+ 1 - 1
src/web/staticres/common-module/area-pack/js/buy.js

@@ -473,7 +473,7 @@ var vm = new Vue({
       var buyAreaCount = this.buyAreaCount
 
       if (this.buyType === 'buy') {
-        if (buyAreaCount <= 0) {
+        if (buyAreaCount === 0) {
           buyAreaCount = 1
           this.alreadyBuyInfo.simulatedAmount = true
         } else {