mirror of https://github.com/layui/layui
parent
a7267a4b5d
commit
23a62619d9
|
@ -415,7 +415,8 @@ layui.define(['lay', 'laytpl', 'laypage', 'form', 'util'], function(exports) {
|
||||||
return obj;
|
return obj;
|
||||||
}()).html(laytpl(TPL_MAIN, {
|
}()).html(laytpl(TPL_MAIN, {
|
||||||
open: '{{', // 标签符前缀
|
open: '{{', // 标签符前缀
|
||||||
close: '}}' // 标签符后缀
|
close: '}}', // 标签符后缀
|
||||||
|
tagStyle: 'legacy'
|
||||||
}).render({
|
}).render({
|
||||||
data: options,
|
data: options,
|
||||||
index: that.index //索引
|
index: that.index //索引
|
||||||
|
|
|
@ -145,7 +145,8 @@ layui.define(['laytpl', 'form'], function(exports) {
|
||||||
// 解析模板
|
// 解析模板
|
||||||
var thisElem = that.elem = $(laytpl(TPL_MAIN, {
|
var thisElem = that.elem = $(laytpl(TPL_MAIN, {
|
||||||
open: '{{', // 标签符前缀
|
open: '{{', // 标签符前缀
|
||||||
close: '}}' // 标签符后缀
|
close: '}}', // 标签符后缀
|
||||||
|
tagStyle: 'legacy'
|
||||||
}).render({
|
}).render({
|
||||||
data: options,
|
data: options,
|
||||||
index: that.index // 索引
|
index: that.index // 索引
|
||||||
|
|
Loading…
Reference in New Issue