wuhao пре 3 година
родитељ
комит
181d6c82d1
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/views/device/function/index.vue

+ 2 - 2
src/views/device/function/index.vue

@@ -103,8 +103,8 @@ export default {
     getList() {
       this.loading = true;
       functionList({ isDelete: 0 }).then((res) => {
-        if (res.data.code === 0) {
-          this.tableData = res.data.data;
+        if (res.code === 0) {
+          this.tableData = res.data;
           this.loading = false;
         }
       });