소스 검색

设备管理 功能权限

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