shaun-sheep %!s(int64=4) %!d(string=hai) anos
pai
achega
a1123b4500
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  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 => {
-                debugger
-                this.tableData = res.data.data
-                this.total = res.data.count
+                this.tableData = res.data || []
+                this.total = res.count
             })
         }
     },