wuhao 3 лет назад
Родитель
Сommit
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;
       }
     });
   }