fix: 商品管理使用getAllProducts接口显示所有商品(包括下架)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Agent
2026-04-01 15:18:48 +00:00
parent 08f440f7c8
commit 5dc15bb2a9
2 changed files with 9 additions and 2 deletions

View File

@@ -194,7 +194,7 @@ export default {
},
async loadProducts() {
try {
const res = await productApi.getProducts({
const res = await productApi.getAllProducts({
keyword: this.keyword,
categoryId: this.categoryId,
page: 1,