From 9b18e152d733d9aaedf14bed625a2be5e9ab32e0 Mon Sep 17 00:00:00 2001 From: Xiang511 Date: Sat, 8 Mar 2025 14:06:06 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=AA=BF=E6=95=B4=20Toast=20?= =?UTF-8?q?=E8=A8=8A=E6=81=AF=E9=A1=AF=E7=A4=BA=E6=99=82=E9=96=93=E5=8F=8A?= =?UTF-8?q?=E5=85=A7=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index 6691c3c..64e7022 100644 --- a/js/main.js +++ b/js/main.js @@ -20,7 +20,7 @@ const Toast = Swal.mixin({ popup: 'colored-toast', }, showConfirmButton: false, - timer: 1500, + timer: 3000, timerProgressBar: true, }) @@ -37,6 +37,8 @@ CheckLastFile.addEventListener('change', function () { Toast.fire({ icon: 'success', title: '已切換為第二選項', + text: '請將您之前的 Follower file 上傳', + width: '30rem' }) } else { // 清空input