소스 검색

设备管理 mixin

wuhao 3 년 전
부모
커밋
63e6ab8c0d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/device/mixin/index.js

+ 2 - 2
src/views/device/mixin/index.js

@@ -39,8 +39,8 @@ const category = {
     categoryList({
       status: 1,
     }).then((res) => {
-      if (res.data.code === 0) {
-        this.categoryOptions = res.data.data;
+      if (res.code === 0) {
+        this.categoryOptions = res.data;
       }
     });
   }