分离js

<script src="@ViewBag.ThisDoman/Scripts/SubstrateBinding/DoPrint.js?Version=@ViewBag.Version"></script>

BaseController :          protected string thisDoman = ConfigurationManager.AppSettings["thisDoamin"];
                protected string Version = DateTime.Now.ToString("yyyyMMddHHmmssfffffff");

 ViewBag.Version = Version;
ViewBag.thisDoman = thisDoman;

 

    <add key="thisDoamin" value="http://localhost:59391" />

分离js

上一篇:PHPExcel 1.8


下一篇:PHP8开启PHPStorm + Xdebug3