option标签中使用@写C#报错

不能使用@报错 The tag helper 'option' must not have C# in the element's attribute declaration area.

可以使用!禁用标签助手。<!option></!option>

每天学习一丢丢
原文地址:https://www.cnblogs.com/terry-1/p/14976172.html