chore: 同步完整版代码

This commit is contained in:
xiaoxian521
2024-07-03 11:52:17 +08:00
parent c6b0aa2467
commit c0f3dcbbb7
7 changed files with 1011 additions and 820 deletions

View File

@@ -222,7 +222,7 @@ const LayHeader = defineComponent({
.app-mask {
position: absolute;
top: 0;
z-index: 999;
z-index: 2001;
width: 100%;
height: 100%;
background: #000;

View File

@@ -560,6 +560,7 @@
}
.sidebar-container {
z-index: 2001;
width: $sideBarWidth;
transition: transform var(--pure-transition-duration);
}

View File

@@ -63,7 +63,7 @@ const onLogin = async (formEl: FormInstance | undefined) => {
/** 使用公共函数,避免`removeEventListener`失效 */
function onkeypress({ code }: KeyboardEvent) {
if (code === "Enter") {
if (["Enter", "NumpadEnter"].includes(code)) {
onLogin(ruleFormRef.value);
}
}