Browse Source

设备管理 功能权限

wuhao 3 năm trước cách đây
mục cha
commit
181d6c82d1
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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;
         }
       });