场景1:使用了 template 作为 el-input 的父标签
这种情况需要在 template 中添加 slot-scope 属性,例如:
<template slot-scope="scope">
el-input 才能正常输入,据说是 element-ui 的 bug,
场景2
el-input 中没有 v-model, 记住一定要加 v-model
场景1:使用了 template 作为 el-input 的父标签
这种情况需要在 template 中添加 slot-scope 属性,例如:
<template slot-scope="scope">
el-input 才能正常输入,据说是 element-ui 的 bug,
场景2
el-input 中没有 v-model, 记住一定要加 v-model