Accept Merge Request #1688: (feature/前端样式修改 -> develop)
Merge Request: 修复表格对不齐问题 Created By: @黄焱 Reviewed By: @胡尧 Approved By: @胡尧 Accepted By: @黄焱 URL: https://jikimo-hn.coding.net/p/jikimo_sfs/d/jikimo_sf/git/merge/1688?initial=true
This commit is contained in:
@@ -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('<td>序号</td>')
|
||||
tbody.children('tr').each(function () {
|
||||
$(this).children('td').eq(0).remove()
|
||||
})
|
||||
}
|
||||
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user