Prechádzať zdrojové kódy

修改文章分类查询错误

asd123a20 2 rokov pred
rodič
commit
bb813b8a1e
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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 });
     },
     // 表单保存