在data裏定義:readonly: true, 而後在input框里加上readonly就能夠了。
在data裏定義:edit: true, 而後在input框里加上::disabled="edit"就能夠了