Fix target warning of BackTop, close #8848 & #8179

This commit is contained in:
afc163 2018-01-06 23:55:15 +08:00
parent 23c23797ff
commit 1e0e5b0e7b

View File

@ -118,6 +118,7 @@ export default class BackTop extends React.Component<BackTopProps, any> {
'className',
'children',
'visibilityHeight',
'target',
]);
const backTopBtn = this.state.visible ? (