style: 移除无用的日志输出代码
This commit is contained in:
@ -145,7 +145,6 @@ const handleTextareaScroll = (e: Event) => {
|
|||||||
|
|
||||||
const handleCompositionUpdate = () => {
|
const handleCompositionUpdate = () => {
|
||||||
if (!nativeTextarea) return;
|
if (!nativeTextarea) return;
|
||||||
console.log('handleCompositionUpdate', nativeTextarea.value);
|
|
||||||
// 使用 rAF 等待浏览器把最新字符写入 textarea.value 再读取
|
// 使用 rAF 等待浏览器把最新字符写入 textarea.value 再读取
|
||||||
requestAnimationFrame(() => {
|
requestAnimationFrame(() => {
|
||||||
if (!nativeTextarea) return;
|
if (!nativeTextarea) return;
|
||||||
|
|||||||
@ -145,7 +145,6 @@ const handleTextareaScroll = (e: Event) => {
|
|||||||
|
|
||||||
const handleCompositionUpdate = () => {
|
const handleCompositionUpdate = () => {
|
||||||
if (!nativeTextarea) return;
|
if (!nativeTextarea) return;
|
||||||
console.log('handleCompositionUpdate', nativeTextarea.value);
|
|
||||||
// 使用 rAF 等待浏览器把最新字符写入 textarea.value 再读取
|
// 使用 rAF 等待浏览器把最新字符写入 textarea.value 再读取
|
||||||
requestAnimationFrame(() => {
|
requestAnimationFrame(() => {
|
||||||
if (!nativeTextarea) return;
|
if (!nativeTextarea) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user