调试茶艺师订单接口
This commit is contained in:
@ -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) //追加新数据
|
||||
|
||||
Reference in New Issue
Block a user