liushengqiang пре 1 година
родитељ
комит
ad29d9f77c
1 измењених фајлова са 1 додато и 0 уклоњено
  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") {