|
@@ -300,7 +300,6 @@ export default {
|
|
*/
|
|
*/
|
|
onEnd({ newIndex, oldIndex }) {
|
|
onEnd({ newIndex, oldIndex }) {
|
|
let order = newIndex > oldIndex;
|
|
let order = newIndex > oldIndex;
|
|
- // TODO dest_position 1 不起作用
|
|
|
|
MoveQuestion({
|
|
MoveQuestion({
|
|
question_id: this.index_list[newIndex].id,
|
|
question_id: this.index_list[newIndex].id,
|
|
dest_question_id: this.index_list[order ? newIndex - 1 : newIndex + 1].id,
|
|
dest_question_id: this.index_list[order ? newIndex - 1 : newIndex + 1].id,
|