优化 table 生成 <style> 的 id 规则

This commit is contained in:
贤心 2023-09-06 20:51:48 +08:00
parent bdb5b29d16
commit ada3ad2c1e

View File

@ -584,7 +584,7 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports){
lay.style({
target: that.elem[0],
text: text.join(''),
id: 'DF-'+ index
id: 'DF-table-'+ index
});
};