Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 typescript react 创建一个地址表单,如果我创建了永久地址字段和通信地址字段。并且有可能这两个地址可以相同,在这种情况下如何编写复选框功能来解决这个问题。如果选中复选框,则永久地址的任一字段将变为禁用或消失。