This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user