You could do a conditional inside your switchMap. Like so: distinctUntilChanged(), switchMap((searchText) => searchText.length > 3 ? this.
確定! 回上一頁