Browse Source

fix: s-table tree dislocation #243

wzh 6 năm trước cách đây
mục cha
commit
db1b074ed0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 = (