table:191 Uncaught TypeError: Cannot read property 'username' of null:
表:191未捕獲的類型錯誤:無法讀取屬性“username”的null:
背景:使用layui初始化表格:
出錯原因:
獲取到的數據中user對象是null,再獲取對象下的屬性是有誤的。
表:191未捕獲的類型錯誤:無法讀取屬性“username”的null:
背景:使用layui初始化表格:
出錯原因:
獲取到的數據中user對象是null,再獲取對象下的屬性是有誤的。