Data table is displayed layui msg field instead of the data field

In the data table has been received, the data field is not displayed, but the display field msg

The reason is: The value code is not 0 ,. It should be noted here is that only when the code is 0, it indicates success, others are failures

Guess you like

Origin www.cnblogs.com/ABKing/p/12585329.html