feat(drone-dock): 对接我的拍摄订单筛选与分页
This commit is contained in:
@@ -88,6 +88,11 @@ final class DroneDockHomeViewModel {
|
||||
self.currentContext = currentContext
|
||||
}
|
||||
|
||||
/// 全部订单沿用首页账号范围和真实服务,分页状态与首页各自维护。
|
||||
func makeOrdersViewModel() -> DroneDockOrdersViewModel {
|
||||
DroneDockOrdersViewModel(context: context, service: service, currentContext: currentContext)
|
||||
}
|
||||
|
||||
/// 并行刷新三个来源;单接口失败不丢弃其他区域的成功数据。
|
||||
func refresh() async {
|
||||
generation &+= 1
|
||||
|
||||
Reference in New Issue
Block a user