1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

resove move file bug

This commit is contained in:
zxj96
2019-06-03 12:06:25 +08:00
parent 38aed49542
commit bd359c48f4

View File

@@ -56,6 +56,9 @@ class DirColumnNav extends React.Component {
} }
componentWillReceiveProps(nextProps) { componentWillReceiveProps(nextProps) {
if (!nextProps.currentNode) {
return;
}
this.setState({opNode: nextProps.currentNode}); this.setState({opNode: nextProps.currentNode});
} }