We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 445cd1f commit d3cf750Copy full SHA for d3cf750
src/renderer/src/components/common-nav/index.vue
@@ -123,9 +123,11 @@ watch(
123
124
const emit = defineEmits(['changeKey', 'contextMenu']);
125
126
-onClickOutside(headerOutsideRef, () => {
127
- isVisible.search = false;
128
-})
+if (props.search) {
+ onClickOutside(headerOutsideRef, () => {
+ isVisible.search = false;
129
+ })
130
+}
131
132
const conButtonClick = (item: any, { x, y }: any) => {
133
isVisible.contentMenu = true;
0 commit comments