bootstrap table服務端分頁渲染不到數據,報錯信息:Cannot read property 'classes' of undefined at BootstrapTable.initB

報錯信息如圖:            原因:rowStyle方法必須返回一種樣式類型     解決方案:         rowStyle: function(row, index) {             //這裏有5個取值代表5中顏色['active', 'success', 'info', 'warning', 'danger'];             var strclass =
相關文章
相關標籤/搜索