vue fuzzy retrieval, and are arranged in alphabetical order according to other characters

  Yesterday, let me do one function, to achieve a fuzzy search, I thought, that do chanting, and then start a normal development

  code show as below: 

  HTML

  

   VIEW

  Because it is real-time, so I write the logic written in a watch

  

 

  Five minutes to get.

    I think this is over, but demand for the product are endless, beloved (say what I think you know) product manager, saw me do so quickly decisive plus a wave of demand.

  Product: I think here you can add a sort, arranged in alphabetical order according to what his character is no other non-search terms. (One breath say I am a bit ignorant)

  After three minutes I realized what he meant, it is sorted according to the first letter of the second word of the alphabet. Then, subsequently changed chant

  

 

   And 5 minutes

  To get from work.

Guess you like

Origin www.cnblogs.com/-moon/p/11544122.html