소스 검색

fix: s-table tree dislocation #243

wzh 6 년 전
부모
커밋
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 = (