浏览代码

设备管理 功能权限

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;
         }
       });