Browse Source

修改文章分类查询错误

asd123a20 2 years ago
parent
commit
bb813b8a1e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      admin-content/src/views/home.vue

+ 1 - 1
admin-content/src/views/home.vue

@@ -177,7 +177,7 @@ export default {
     },
     // 查询
     async filterQuery ({ filter = {}, paging = { page: 0, size: 10 } } = {}) {
-      // filter.istop = true;
+      if (this.types !== null) filter.bind = this.types;
       await this.contentsQuery({ filter, paging });
     },
     // 表单保存