zhouna %!s(int64=4) %!d(string=hai) anos
pai
achega
427b0177b9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/MainPage.vue

+ 1 - 1
src/components/MainPage.vue

@@ -211,7 +211,7 @@ export default {
       const moduleName = this.moduleMap[this.activeTab]+'QasList';
       const pnum = this[moduleName].length;
       const snum = (this.num+1)>pnum?pnum:(this.num+1);
-      this.progressNum=snum+"/"+(pnum===0?1:pnum);
+      this.progressNum=(pnum===0?0:snum)+"/"+pnum;
       const precent = (this.num+1)/this[moduleName].length;
       return precent*100+"%";
     }