diff --git a/jikimo_frontend/static/src/js/custom_form_status_indicator.js b/jikimo_frontend/static/src/js/custom_form_status_indicator.js index 1e39b719..4992872a 100644 --- a/jikimo_frontend/static/src/js/custom_form_status_indicator.js +++ b/jikimo_frontend/static/src/js/custom_form_status_indicator.js @@ -177,9 +177,10 @@ patch(ListRenderer.prototype, 'jikimo_frontend.ListRenderer', { const thead_th_num = thead_tr.children().length const tbody_tr_num = tbody_tr.children().length const num = thead_th_num - tbody_tr_num - console.log('num', num); if(num == -1) { - thead_tr.prepend('序号') + tbody.children('tr').each(function () { + $(this).children('td').eq(0).remove() + }) } } catch (e) {