碰到el-input输入失效,怎么填都不响应
原因:嵌套层级太深
解决办法:强制刷新
html:
<el-input @input="inputChange"></el-input>
js:
inputChange(){ this.$forceUpdate(); //强制刷新 }