在data里定义:readonly: true, 而后在input框里加上readonly就能够了。
在data里定义:edit: true, 而后在input框里加上::disabled="edit"就能够了