[Bug fix] Test case search: fix issue can't clear component list when switch project