diff --git a/seller/src/views/goods/goods-seller/alertQuantity.vue b/seller/src/views/goods/goods-seller/alertQuantity.vue index 54ac51e4..3e2367f4 100644 --- a/seller/src/views/goods/goods-seller/alertQuantity.vue +++ b/seller/src/views/goods/goods-seller/alertQuantity.vue @@ -334,7 +334,7 @@ handleSearch() { this.searchForm.pageNumber = 1; this.searchForm.pageSize = 10; - this.searchForm.categoryPath = this.category.join(",") + this.searchForm.categoryPath = this.category ? this.category.join(",") : null; this.getDataList(); }, // 重置搜索条件