企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
### alert弹出库官方<https://www.sweetalert.cn> ~~~ npm install sweetalert --save import swal from 'sweetalert'; //导入应用 <script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script> //CDN swal("Hello world!", { dangerMode: true, buttons: ["取消","确定"], }).then((v)=>{ console.log(v) }); swal("自动关闭!", { buttons: false, timer: 3000, }); swal("提示", "操作成功", "success", { button: "确定", }); swal.stopLoading(); swal.close(); ~~~