浏览代码

Fix iterating for calculate nested function (#3920)

Alexey Savin 7 年之前
父节点
当前提交
e23f57a44d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -172,7 +172,7 @@
 
         if (names.length > 1) {
           func = window
-          for (const f of name) {
+          for (const f of names) {
             func = func[f]
           }
         } else {