💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
网页显示JavaScript ``` <pre> <code> &lt;!-- Vendor files --&gt; &lt;script src="sweetalert2.all.min.js"&gt;&lt;/script&gt; &lt;link rel="stylesheet" type="text/css" href="sweetalert2.min.css"&gt; &lt;!-- Template files --&gt; &lt;link rel="stylesheet" type="text/css" href="app-assets/css/plugins/extensions/ext-component-sweet-alerts.css"&gt; </code> </pre> <pre> <code> Swal.fire({ icon: 'error', title: 'Error!', text: 'Do you want to continue?', type: 'error', confirmButtonText: 'Cool', customClass: { confirmButton: 'btn btn-primary' }, buttonsStyling: false }) </code> </pre> ```