|
|
@ -42,7 +42,7 @@ export class DishSelectComponent implements OnInit, ControlValueAccessor { |
|
|
|
this.loading = true |
|
|
|
}), |
|
|
|
switchMap((term: string) => |
|
|
|
this.api.getDishPage({ pageNo: 0, pageSize: 5 }, { keyword: term }).pipe( |
|
|
|
this.api.getDishPage({ pageNo: 0, pageSize: 100 }, { keyword: term }).pipe( |
|
|
|
finalize(() => { |
|
|
|
this.loading = false |
|
|
|
}), |
|
|
|