修复更新后高亮停留的bug,更新comment
This commit is contained in:
parent
2e6fc91367
commit
fcd22c3999
@ -5,5 +5,5 @@
|
|||||||
":SENS:POW:ACH:BAND:CHAN": " \u4fe1\u9053\u5e26\u5bbd",
|
":SENS:POW:ACH:BAND:CHAN": " \u4fe1\u9053\u5e26\u5bbd",
|
||||||
":CALC:MARK1:X": " MARK\u70b91",
|
":CALC:MARK1:X": " MARK\u70b91",
|
||||||
":SENS:FREQ:SPAN": " \u9891\u7387\u533a\u95f4\uff08\u5bbd\u5ea6\uff09",
|
":SENS:FREQ:SPAN": " \u9891\u7387\u533a\u95f4\uff08\u5bbd\u5ea6\uff09",
|
||||||
":CALC:DELT2:X": " "
|
":CALC:DELT2:X": " MARK\u70b91\u504f\u79fb"
|
||||||
}
|
}
|
@ -214,7 +214,7 @@
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
toast.classList.remove('show');
|
toast.classList.remove('show');
|
||||||
setTimeout(() => toast.remove(), 300);
|
setTimeout(() => toast.remove(), 300);
|
||||||
}, 3000);
|
}, 1500);
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById('update-btn').onclick = async () => {
|
document.getElementById('update-btn').onclick = async () => {
|
||||||
@ -236,6 +236,7 @@
|
|||||||
const result = await response.json();
|
const result = await response.json();
|
||||||
if (result.success) {
|
if (result.success) {
|
||||||
showToast('更新成功!');
|
showToast('更新成功!');
|
||||||
|
loadCommands(); // 重新加载命令
|
||||||
} else {
|
} else {
|
||||||
showToast('更新失败!', 'error');
|
showToast('更新失败!', 'error');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user