只读:readonly

在data里定义:readonly: true,
然后在input框里加上readonly就可以了。

 

在data里定义:edit: true,
然后在input框里加上::disabled="edit"就可以了

 

相关文章:

  • 2022-12-23
  • 2023-03-18
  • 2022-12-23
  • 2022-12-23
  • 2021-06-25
  • 2021-11-27
  • 2021-06-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-27
相关资源
相似解决方案