感谢作者,写得很好!
mark
把函数单独写到 UIHelper.cshtml 文件中,那需要使用的页面,比如 B.cshtml 中想使用时,该如何引用 UIHelper.cshtml 页面?或者有什么需要注意的?