Ver Fonte

fix: s-table tree dislocation #243

wzh há 6 anos atrás
pai
commit
db1b074ed0
1 ficheiros alterados com 1 adições e 1 exclusões
  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 = (