djhvscf 7 years ago
parent
commit
a5a3260230
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -180,7 +180,7 @@
         }
       }
 
-      if (typeof func === 'object') {
+      if (func !== null && typeof func === 'object') {
         return func
       }