chore: 同步完整版代码

This commit is contained in:
xiaoxian521
2024-07-03 12:07:44 +08:00
parent fa1b397c33
commit 8c01eeab7f
7 changed files with 1023 additions and 833 deletions

View File

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

View File

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

View File

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