wzh 6 лет назад
Родитель
Сommit
db1b074ed0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/components/Table/index.js

+ 1 - 1
src/components/Table/index.js

@@ -287,7 +287,7 @@ export default {
           return props[k]
         }
       }
-      props[k] = this[k]
+      this[k] && (props[k] = this[k])
       return props[k]
     })
     const table = (