Unless you request all the data at once and use filter to filter, it can be implemented without re-requesting and without clicking, but this will cause too much data to be downloaded at one time.
The test here uses ng-model to bind the value of the search box above, which can achieve the effect you mentioned. The built-in filter is real-time filtering. As long as you enter it, it will automatically help you find the corresponding data
But in a real production environment, when there is a lot of data, this filtering method is not suitable.
Unless you request all the data at once and use filter to filter, it can be implemented without re-requesting and without clicking, but this will cause too much data to be downloaded at one time.
ng-repeat="obj in objs | filter: test"
The test here uses ng-model to bind the value of the search box above, which can achieve the effect you mentioned. The built-in filter is real-time filtering. As long as you enter it, it will automatically help you find the corresponding data
But in a real production environment, when there is a lot of data, this filtering method is not suitable.