Sort ascending and descending in one button

前端 未结 0 1049

I\'m using Vue and I want to create an ascending and descending sort in one button. Here\'s my function

sortBy(prop) {
        var flag = 0;
        if (flag == 0         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题