fix: bug
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m39s

This commit is contained in:
sexygoat
2026-04-23 15:32:34 +08:00
parent a5e76313cb
commit 0bc2efdf0e
4 changed files with 32 additions and 36 deletions

View File

@@ -512,12 +512,6 @@
// 加载店铺列表 - 改用级联查询
const loadShops = async () => {
try {
// 加载平铺列表用于搜索(保留原有逻辑)
const res1 = await ShopService.getShops({ page: 1, page_size: 9999 })
if (res1.code === 0) {
shopOptions.value = res1.data.items || []
}
// 加载顶级店铺用于级联选择
const res2 = await ShopService.getShopsCascade({ parent_id: undefined })
if (res2.code === 0) {