WebConfig错误页配置

在system.web节下配置<customErrors mode="On" defaultRedirect="/ErrorPage/MyErrorPage.html">
      <error statusCode=" redirect="/ErrorPage/NoAccess.html"/>
      <error statusCode=" redirect="/ErrorPage/NotFound.html"/>
      <error statusCode=" redirect="/ErrorPage/ServerError.html"/>
    </customErrors>
上一篇:微信小程序 - loading(组件)


下一篇:认识与入门 Markdown,Markdown教程