Vue implements keyword query list data

 Key code search code:

 Among them, tableList is the total data of the list, tableList is the data of the display list, and the pageList() method is the front-end method for processing paging

The point to note is that the searched text and all data in the list should be converted to all lowercase.

Another important point is that after the query is completed, the data that has been queried must be deduplicated in an array, and there may be duplicates, which will not be shown here.

Guess you like

Origin blog.csdn.net/weixin_43703816/article/details/127879044