ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
### 提示信息 **位置:** 全局 插件地址:http://codeseven.github.io/toastr/demo.html **参数:** toastr , positionClass 提示种类:success , info , warning , error 提示位置:toast-top-right , toast-bottom-right , toast-bottom-left , toast-top-left , toast-top-full-width , toast-bottom-full-width , toast-top-center , toast-bottom-center **调用:** <link rel="stylesheet" href="__PUBLIC__/plug/toastr/css/toastr.css"/> <script src="__PUBLIC__/plug/toastr/js/toastr.js"></script> **完整代码:** ~~~ toastr.options = {"positionClass": "toast-top-center","timeOut": "1000"}; //正确提示 Command: toastr["success"](result.msg) //错误提示 Command: toastr["error"](result.msg) ~~~ **截图:** //正确提示 ![](https://box.kancloud.cn/22fd94ae30c343e635cf985e22dc7a30_313x117.png) //错误提示 ![](https://box.kancloud.cn/562887e42f22b397c7be95bf3f63daee_334x107.png)