layui table源碼修改(1、loading;2、error)

版本layui-v2.2.6 1、layui table首次加載沒有顯示loading的加載動畫 方法:在lay > modules 下的 table.js 文件中的下面位置添加js代碼 if(n.url&&n.loading){i=i||a.loading();} 2、請求錯誤時,執行錯誤的回調函數 方法:在lay > modules 下的 table.js 文件中的下面位置添加js代碼 n.e
相關文章
相關標籤/搜索