Explorar o código

设备管理 mixin

wuhao %!s(int64=3) %!d(string=hai) anos
pai
achega
63e6ab8c0d
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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;
       }
     });
   }