Parcourir la source

Merge branch '2023-8-28'

liushengqiang il y a 1 an
Parent
commit
ad29d9f77c
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/pc/home/index.tsx

+ 1 - 0
src/pc/home/index.tsx

@@ -1241,6 +1241,7 @@ export default defineComponent({
 		};
 
 		const handleKeyUp = (e: KeyboardEvent) => {
+			if ((e.target as HTMLElement).nodeName === 'INPUT') return;
 			if (!data.active) return false;
 			console.log(e.key);
 			if (e.key === "Backspace") {