Quellcode durchsuchen

解决从第六件专利进入专利详情查询数据时current传入错误

zhuliu vor 1 Jahr
Ursprung
Commit
27e45ed3ed
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/views/project/patentDetails/components/menu.vue

+ 1 - 1
src/views/project/patentDetails/components/menu.vue

@@ -208,7 +208,7 @@ export default {
     setQueryParams(){
       if(!this.outside){
         if(this.isContract){
-          this.queryParams.current = ((this.currentLocation-1) < 5)? 1 : ((this.currentLocation-1) - 5)
+          this.queryParams.current = ((this.currentLocation-1) <= 5)? 1 : ((this.currentLocation-1) - 5)
         }else{
           this.queryParams.current = parseInt((this.currentLocation-1) / this.queryParams.size) + 1
         }