From 80d87535c8dec3395b0c6befee05e13c117de6fb Mon Sep 17 00:00:00 2001 From: maplemei Date: Sat, 27 Jul 2019 16:35:23 +0800 Subject: [PATCH] v1.0.0.0727 --- src/components/element/label.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/element/label.js b/src/components/element/label.js index b1d4769..bc2d667 100644 --- a/src/components/element/label.js +++ b/src/components/element/label.js @@ -58,7 +58,7 @@ class Label extends Component{ } }else{ if(sels.length && conf && conf.template){ - html = conf.template({data, arr: sels}); + html = conf.template(data, sels); }else{ html = sels.map(sel => sel[name]).join(',') }