From 81ecd45de408074089a72fae83412b0d5e90e441 Mon Sep 17 00:00:00 2001 From: jinhhanhan <1683105490@qq.com> Date: Sat, 18 Jul 2026 11:13:34 +0800 Subject: [PATCH] =?UTF-8?q?chore=EF=BC=9A=E4=BA=8C=E7=BA=A7=E5=88=86?= =?UTF-8?q?=E7=B1=BB=E6=8C=89=E9=92=AE=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components-diy/diy-category-item.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/components-diy/diy-category-item.vue b/components-diy/diy-category-item.vue index 0e45101..a026ff1 100644 --- a/components-diy/diy-category-item.vue +++ b/components-diy/diy-category-item.vue @@ -180,7 +180,7 @@ - + {{ $lang('components-diy.diy-category-item.all') }} + v-for="(one, oneIndex) in (value.template == 4 ? currentOneCategory.child_list : category.child_list)" :key="oneIndex"> {{ one.category_name }} @@ -201,7 +201,7 @@ :class="{ 'screen-category-4': value.template == 4 }"> {{ $lang('components-diy.diy-category-item.all') }} {{ one.category_name }} @@ -745,8 +745,8 @@ export default { data: { page: this.pageIndex, page_size: this.pageSize, - category_id: this.categoryId != -1 ? this.category.child_list[this.categoryId] - .category_id : this.category.category_id, + 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, order: order, sort: sort },