chore(core): 调整select配置与多语言支持

This commit is contained in:
王立帮
2025-03-31 19:49:41 +08:00
parent a92e1898e3
commit 6d547a5ce3
2 changed files with 2 additions and 2 deletions

View File

@@ -292,7 +292,7 @@ class StatusBarFS extends PageBase {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
const port = Serial.getSelectedPortName(); const port = Serial.getSelectedPortName();
if (!port) { if (!port) {
layer.msg('无可用设备', { time: 1000 }); layer.msg(Msg.Lang['statusbar.serial.noDevice'], { time: 1000 });
resolve(false); resolve(false);
return; return;
} }

View File

@@ -632,7 +632,7 @@ BU.burnWithSpecialBin = () => {
const $select = layero.find('select'); const $select = layero.find('select');
$select.select2({ $select.select2({
data: menu, data: menu,
minimumResultsForSearch: 50, minimumResultsForSearch: Infinity,
width: '360px', width: '360px',
dropdownCssClass: 'mixly-scrollbar' dropdownCssClass: 'mixly-scrollbar'
}); });