Commit a1f933e6 by doszhang

dos

parent d3de4ff6
......@@ -188,8 +188,10 @@ $(document).ready(function () {
const dragEl = $(event.item);
dragEl.find('.btn-checked-item-delete').css('color', '#c30101');
swapArray(flagStack, event.oldIndex, event.newIndex);
console.log(flagStack);
const nodeList = $('.flag-list-content .checked-item');
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