bootstrap-table ajax請(qǐng)求,接收后臺(tái)json數(shù)據(jù)報(bào)錯(cuò),Cannot read property 'total' of undefined。后臺(tái)返回結(jié)果格式和網(wǎng)上的一樣:{"total":10,"rows": [{"password":"123","last_login_time":1492866743000,"create_time":1466046933000,"user_id":1,"user_name":"admin"},{"password":"22","last_login_time":1492538400000,"create_time":1492019996000,"user_id":4,"user_name":"下次"},{"password":"111","last_login_time":1491501637000,"create_time":1491501637000,"user_id":10,"user_name":"小王"}]}求大神們幫忙看看我把bootstrap-table.js里的這一行注釋了,就跑通了,但是不顯示翻頁圖標(biāo),只有下圖的結(jié)果。。。。
bootstrap-table 接收后臺(tái)數(shù)據(jù)報(bào)錯(cuò), 'total' undefined
開心每一天1111
2018-11-14 13:13:12