调试茶艺师订单接口

This commit is contained in:
wangxiaowei
2026-01-03 01:40:12 +08:00
parent 66ee35285d
commit 3a31777431
18 changed files with 717 additions and 344 deletions

View File

@ -52,7 +52,7 @@
import useMescroll from "@/uni_modules/mescroll-uni/hooks/useMescroll.js"
import type { ITeaHouseListResult } from '@/api/types/tea'
import { router } from '@/utils/tools'
import { getTeaHouseList } from '@/api/tea'
import { getHomeTeaStoreList } from '@/api/tea-room'
const OSS = inject('OSS')
@ -96,7 +96,7 @@
search: storeName.value
}
getTeaHouseList(filter).then((res: ITeaHouseListResult) => {
getHomeTeaStoreList(filter).then((res: ITeaHouseListResult) => {
const curPageData = res.list || [] // 当前页数据
if(mescroll.num == 1) list.value = [] // 第一页需手动制空列表
list.value = list.value.concat(curPageData) //追加新数据