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

pull/1368/head
贤心 2023-09-06 20:51:48 +08:00
parent bdb5b29d16
commit ada3ad2c1e
1 changed files with 1 additions and 1 deletions

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
});
};