所以我有这个代码
<label title={Name} className="label" for={Name}>+000000000000</label>
我将此添加到标签中
x-ms-format-detection="none"
最后,我有这个:
<label title={Name} className="label" for={Name} x-ms-format-detection="none">+000000000000</label>
我重建了解决方案,问题是浏览器(Edge)没有将此道具显示为DOM中的元素,而是仍将电话号码转换为链接。