diff --git a/components-diy/diy-category-item.vue b/components-diy/diy-category-item.vue index a026ff1..c3ed09b 100644 --- a/components-diy/diy-category-item.vue +++ b/components-diy/diy-category-item.vue @@ -746,7 +746,7 @@ export default { page: this.pageIndex, page_size: this.pageSize, category_id: this.categoryId != -1 ? (this.value.template == 4 && this.currentOneCategory && this.currentOneCategory.child_list ? this.currentOneCategory.child_list[this.categoryId].category_id : this.category.child_list[this.categoryId].category_id) - : this.category.category_id, + : (this.value.template == 4 && this.currentOneCategory ? this.currentOneCategory.category_id : this.category.category_id), order: order, sort: sort },