瀏覽代碼

设备管理 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;
       }
     });
   }