只读 在data里定义:readonly: true, 然后在el-input框里加上readonly就可以了。 禁用 在data里定义:edit: true, 然后在el-input框里加上::disabled="edit"就可以了 参考地址请点击