修复更新后高亮停留的bug,更新comment

This commit is contained in:
CSSC-WORK\murmur 2024-12-07 11:12:51 +08:00
parent 2e6fc91367
commit fcd22c3999
2 changed files with 3 additions and 2 deletions

View File

@ -5,5 +5,5 @@
":SENS:POW:ACH:BAND:CHAN": " \u4fe1\u9053\u5e26\u5bbd",
":CALC:MARK1:X": " MARK\u70b91",
":SENS:FREQ:SPAN": " \u9891\u7387\u533a\u95f4\uff08\u5bbd\u5ea6\uff09",
":CALC:DELT2:X": " "
":CALC:DELT2:X": " MARK\u70b91\u504f\u79fb"
}

View File

@ -214,7 +214,7 @@
setTimeout(() => {
toast.classList.remove('show');
setTimeout(() => toast.remove(), 300);
}, 3000);
}, 1500);
}
document.getElementById('update-btn').onclick = async () => {
@ -236,6 +236,7 @@
const result = await response.json();
if (result.success) {
showToast('更新成功!');
loadCommands(); // 重新加载命令
} else {
showToast('更新失败!', 'error');
}