Commit 8de8fee8 by doszhang

dos

parent 6f2bded1
......@@ -185,7 +185,7 @@ $(document).ready(function () {
const dragEl = $(event.item);
swapArray(flagStack, event.oldIndex, event.newIndex);
const nodeList = $('.flag-list-content .checked-item:not(.sortable-drag)');
$('.sortable-drag').find('.checked-flag-no').text(event.newIndex);
$('.sortable-drag').find('.checked-flag-no').text(event.newIndex + 1);
for (let i = 0; i < nodeList.length; i++) {
$(nodeList[i]).find('.checked-flag-no').text(i + 1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment