摘要: 方式一:使用@Model 1.在Controller中定义变量: public class MyController : Controller { public string MyModelVariable { get; set; } public IActionResult Index() { M 阅读全文
posted @ 2024-09-06 16:40 microsoft-zhcn 阅读(42) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示