Skip to content

Commit

Permalink
Merge a7e8089 into 1ff124d
Browse files Browse the repository at this point in the history
  • Loading branch information
kouchao committed Jan 5, 2019
2 parents 1ff124d + a7e8089 commit 3d49c6b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/lay/modules/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,12 @@ layui.define(['laytpl', 'laypage', 'layer', 'form', 'util'], function(exports){
that.config = $.extend({}, that.config, table.config, options);
that.render();
};

// 配置分割符,防止修改源码默认分隔符导致解析出错
laytpl.config({
open: '{{',
close: '}}'
});

//默认配置
Class.prototype.config = {
Expand Down

0 comments on commit 3d49c6b

Please sign in to comment.