diff --git a/app/server/public/css/style.css b/app/server/public/css/style.css index 091ebfd..8d3823e 100644 --- a/app/server/public/css/style.css +++ b/app/server/public/css/style.css @@ -261,7 +261,7 @@ body { .modal select { width: 100%; border: 1px solid #dde; border-radius: 8px; padding: 10px 12px; font-size: 15px; margin-bottom: 10px; outline: none; - background: #fff; color: #334; appearance: auto; + background: #fff; color: #334; appearance: none; } .modal select:focus { border-color: #2a5299; } .modal-close-btn { diff --git a/app/server/public/index.html b/app/server/public/index.html index dcf18a9..6553d59 100644 --- a/app/server/public/index.html +++ b/app/server/public/index.html @@ -90,7 +90,7 @@

新建任务会话

- + diff --git a/app/server/public/js/app.js b/app/server/public/js/app.js index a88d8c5..5c23157 100644 --- a/app/server/public/js/app.js +++ b/app/server/public/js/app.js @@ -408,9 +408,9 @@ const ui = { const rows = await req('GET', '/api/models'); const free = rows.filter(m => !m.is_busy); sel.innerHTML = free.length - ? '' + free.map(m => + ? '' + free.map(m => '').join('') - : ''; + : ''; } catch (_) { /* 保留默认选项 */ } $('create-modal').classList.remove('hidden'); $('new-title').focus();