We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
经过检查 input 的源代码是这样的
updateValue(value); emit("input", value, e);
而 textarea 的事件是这样的
emit("input", value, e); updateValue(value);
打开控制台,在 input 和 textare 分别输入内容,input 输入内容和控制台输出的一样,而 textarea 输出的结果是上次的结果
The text was updated successfully, but these errors were encountered:
遇到这个问题➕1, 暂时用下面的方法解决了:
const reextractContent = async () => { await nextTick(); // 等待 DOM 更新 console.log(textareaVal); }
Sorry, something went wrong.
No branches or pull requests
Basic Info
Extra info
经过检查
input 的源代码是这样的
而 textarea 的事件是这样的
Steps to reproduce
打开控制台,在 input 和 textare 分别输入内容,input 输入内容和控制台输出的一样,而 textarea 输出的结果是上次的结果
The text was updated successfully, but these errors were encountered: