diff --git a/package.json b/package.json
index b19b45a..3820ebd 100644
--- a/package.json
+++ b/package.json
@@ -19,8 +19,8 @@
"react-dom": "^16.12.0",
"react-dplayer": "^0.3.3",
"react-hotkeys": "^2.0.0",
- "react-image-lightbox": "^5.1.1",
"react-lazy-load-image-component": "^1.3.2",
+ "react-photo-view": "^0.3.9",
"react-redux": "^7.1.3",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
diff --git a/src/component/FileManager/ContextMenu.js b/src/component/FileManager/ContextMenu.js
index 8d95336..42233e2 100644
--- a/src/component/FileManager/ContextMenu.js
+++ b/src/component/FileManager/ContextMenu.js
@@ -66,7 +66,8 @@ const mapStateToProps = state => {
withFolder: state.explorer.selectProps.withFolder,
withFile: state.explorer.selectProps.withFile,
path: state.navigator.path,
- selected: state.explorer.selected
+ selected: state.explorer.selected,
+ keywords: state.explorer.keywords,
};
};
@@ -497,34 +498,40 @@ class ContextMenuCompoment extends Component {
重命名
-
+ {this.props.keywords === null &&
+
+ }
+
>
)}
{isHomePage && (
-
+ {this.props.keywords === null &&
+
+ }
+