编译报错:
原因:错误在c#代码中使用注释
@code {
<!-- 不可在c#代码使用该方式注释-->
private ChildComponent childComponent;
}
修改后
@code {
//捕获组件实例
private ChildComponent childComponent;
}
编译报错:
原因:错误在c#代码中使用注释
@code {
<!-- 不可在c#代码使用该方式注释-->
private ChildComponent childComponent;
}
修改后
@code {
//捕获组件实例
private ChildComponent childComponent;
}