摘要: 方式一:使用 HtmlString 类 Razor视图 .cshtml文件代码如下 @using Microsoft.AspNetCore.Html; @(new HtmlString("<h2>我是假数据</h2>")) //获取不using 直接类全路径 @(new Microsoft.AspN 阅读全文
posted @ 2022-07-11 11:58 清和时光 阅读(273) 评论(0) 推荐(0) 编辑