在layui的文件夾中的lay.modules的table.js中找到error方法。在方法中加上"function" == typeof a.error &&a.error(JSON.parse(e.responseText)),就可以在table.render()中寫error方法進行異常回調處理了
在layui的文件夾中的lay.modules的table.js中找到error方法。在方法中加上"function" == typeof a.error &&a.error(JSON.parse(e.responseText)),就可以在table.render()中寫error方法進行異常回調處理了
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。