Vue.js 带有vue排序的订单列表

Vue.js 带有vue排序的订单列表,vue.js,vuejs2,Vue.js,Vuejs2,我正在Vue.js上使用,我正在尝试在排序完成后使用索引值更改订单号。但我甚至连这个方法都没有。第二件事是,我试图列出order\u no(例如1,4,5,7)=order\u nr值之后的所有元素 changeOrderElement(索引){ console.log('Order:',this.table.Order_no); this.table.order_no=索引; console.log('neworder:',this.table.Order\u no); } 是否将方法cha

我正在Vue.js上使用,我正在尝试在排序完成后使用索引值更改
订单号
。但我甚至连这个方法都没有。第二件事是,我试图列出
order\u no
(例如1,4,5,7)=
order\u nr
值之后的所有元素


changeOrderElement(索引){
console.log('Order:',this.table.Order_no);
this.table.order_no=索引;
console.log('neworder:',this.table.Order\u no);
}

是否将方法
changeOrderElement
放在方法块中?是的,放在方法中。是否将方法
changeOrderElement
放在方法块中?是的,放在方法中。