liushengqiang 1 год назад
Родитель
Сommit
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") {