简体   繁体   English

如何更改 aspnetboilerplate“出现错误对话框”

[英]How to change aspnetboilerplate "an error occured dialog"

I want to change aspnetboilerplate sweetalert to any custom error dialog.我想将aspnetboilerplate sweetalert更改为任何自定义错误对话框。 I am using ASP.net core with Angular.我正在使用带有 Angular 的 ASP.net 核心。 Whenever there is a exception at server side, this dialog pops up.每当服务器端出现异常时,都会弹出此对话框。 I can't find the place in code where this sweetalert is used.我在代码中找不到使用此 sweetalert 的位置。 Can someone help?有人可以帮忙吗?

You can find showMessage() function you need in this file.你可以在这个文件中找到你需要的 showMessage() 函数。

..\angular\src\assets\abp-web-resources\abp.sweet-alert.js ..\angular\src\assets\abp-web-resources\abp.sweet-alert.js

在此处输入图像描述

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何升级 aspnetboilerplate 应用程序。 Abp 3.5.0 到 Abp 6.0 - How to upgrade aspnetboilerplate application. Abp 3.5.0 to Abp 6.0 AspnetBoilerplate IdentityServer - 配置存储 - AspnetBoilerplate IdentityServer - Configuration Store 将数据添加到远程MySql服务器时出错 - Error occured while adding data to remote MySql server 用aspnetboilerplate找不到System.Web.HttpPostedFileBase - System.Web.HttpPostedFileBase not found with aspnetboilerplate 迁移期间发生错误 System.ArgumentNullException:值不能为 null。(参数“connectionString”) - An Error has occured during the migrations System.ArgumentNullException: Value cannot be null. (Parameter 'connectionString') AspNetBoilerplate:前端(角度)的服务器端枚举用法? - AspNetBoilerplate : server side enum usage on front end (angular)? 如何更改默认 model 错误“值''无效。”? - How can I change the default model error "The value '' is invalid."? 如何在MassTransit for RabbitMQ中更改错误队列和交换的名称? - How to change names of error queues and exchanges in MassTransit for RabbitMQ? 如何使用 Microsoft BotFramework 从中间件创建和运行对话框 - How to create and run Dialog from Middleware with Microsoft BotFramework 如果 controller 方法中的参数构造在 .NET Core 3.1 中失败,如何更改 http 响应错误消息? - How to change http response error message if parameter construction in controller method fails in .NET Core 3.1?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM