el-input获取旧值
时间: 2023-10-13 22:04:49 浏览: 276
要获取el-input的旧值,可以使用ref属性来获取整个dom元素,然后再找到对应的userInput值。这样就可以得到el-input的旧值。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [el-input-number输入数字之后请求接口返回数据](https://blog.csdn.net/qq_47904525/article/details/120769574)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [解决el-input-number修改值后不更新](https://blog.csdn.net/mischievous_boy/article/details/113728764)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文