1 Commits

Author SHA1 Message Date
fofolee
2625a25584 修复showSystemList无法通过回车进行选择的BUG 2025-06-11 09:28:00 +08:00
3 changed files with 2600 additions and 5170 deletions

7756
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -25,7 +25,7 @@
}, },
"devDependencies": { "devDependencies": {
"@babel/eslint-parser": "^7.13.14", "@babel/eslint-parser": "^7.13.14",
"@quasar/app-webpack": "^4.2.0", "@quasar/app-webpack": "^3.5.2",
"@types/mousetrap": "^1.6.9", "@types/mousetrap": "^1.6.9",
"copy-webpack-plugin": "^10.2.4", "copy-webpack-plugin": "^10.2.4",
"eslint": "^8.10.0", "eslint": "^8.10.0",

View File

@@ -520,6 +520,10 @@ document.addEventListener("DOMContentLoaded", () => {
if (dialogType === "textarea" && !e.ctrlKey) { if (dialogType === "textarea" && !e.ctrlKey) {
return; return;
} }
// select 类型有自己的键盘处理器,不需要全局处理器处理 Enter 键
if (dialogType === "select") {
return;
}
document.getElementById("ok-btn").click(); document.getElementById("ok-btn").click();
} }
}); });