Browse Source

优化 `lay.getStyleRules()` 方法的回调传参

pull/1368/head
贤心 1 year ago
parent
commit
b391ade958
  1. 2
      src/modules/lay.js

2
src/modules/lay.js

@ -135,7 +135,7 @@
if (typeof callback === 'function') {
layui.each(rules, function(i, item){
if (callback(item)) return true;
if (callback(item, i)) return true;
});
}

Loading…
Cancel
Save