We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
功能请求
2.9.8
项目中loading统一用的layui.layer.load(1),这个和table默认的不一致,也没找到参数能修改。可否加一个这个参数?
无
No response
124.0.6367.119
The text was updated successfully, but these errors were encountered:
或许的确可以增加一个函数,用于替代默认的加载风格。
Sorry, something went wrong.
那能否顺便给layer.msg('提示文字',{icon:16})时,的loading样式一起加了,icon:16的时候也是固定的layer.load(0)的样式
如果要保持两者加载的统一,可以禁用 table 默认的加载,再通过 before 回调加上 layer 的加载条
before
loading: false, // 禁用 table 默认加载条 before: function() { // 数据渲染前 this.loadIndex = layer.msg('一段提示信息',{ icon:16 }); }, complete: function() { // 数据请求完 layer.close(this.loadIndex) },
Successfully merging a pull request may close this issue.
议题条件
议题类型
功能请求
使用版本
2.9.8
问题描述
项目中loading统一用的layui.layer.load(1),这个和table默认的不一致,也没找到参数能修改。可否加一个这个参数?
业务代码
截图补充
No response
浏览器
124.0.6367.119
演示地址
No response
友好承诺
The text was updated successfully, but these errors were encountered: