natasha пре 1 година
родитељ
комит
b1d28b4303
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      src/views/bookShelf/bookItem.vue

+ 3 - 1
src/views/bookShelf/bookItem.vue

@@ -469,7 +469,9 @@ export default {
                     this.salesCn = this.sales.toString().substring(0,1)+'0万+'
                 }else if(1000000<=this.sales&&this.sales<10000000){
                     this.salesCn = this.sales.toString().substring(0,1)+'00万+'
-                }else if(10000000<=this.sales){
+                }else if(10000000<=this.sales&&this.sales<100000000){
+                    this.salesCn = this.sales.toString().substring(0,1)+'000万+'
+                }else if(100000000<=this.sales){
                     this.salesCn = this.sales.toString().substring(0,1)+'亿+'
                 }
             }