10000 fix #1953, use for-of instead · pythonAI/bootstrap-table@b9be43a · GitHub
[go: up one dir, main page]

Skip to content

Commit b9be43a

Browse files
committed
fix wenzhixin#1953, use for-of instead
1 parent e43b9c8 commit b9be43a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap-table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@
242242
}
243243

244244
const props = field.split('.')
245-
for (const p in props) {
245+
for (const p of props) {
246246
if (props.hasOwnProperty(p)) {
247247
value = value && value[props[p]]
248248
}

0 commit comments

Comments
 (0)
0