shaun-sheep 4 lat temu
rodzic
commit
a1123b4500
1 zmienionych plików z 2 dodań i 3 usunięć
  1. 2 3
      src/views/equipment/table/wbTable.vue

+ 2 - 3
src/views/equipment/table/wbTable.vue

@@ -76,9 +76,8 @@ export default {
                 }
                 }
             }
             }
             queryWbsms(getParams).then(res => {
             queryWbsms(getParams).then(res => {
-                debugger
-                this.tableData = res.data.data
-                this.total = res.data.count
+                this.tableData = res.data || []
+                this.total = res.count
             })
             })
         }
         }
     },
     },