mirror of
https://github.com/pure-admin/pure-admin-thin.git
synced 2025-11-11 13:13:38 +08:00
chore: 同步完整版代码
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -560,6 +560,7 @@
|
||||
}
|
||||
|
||||
.sidebar-container {
|
||||
z-index: 2001;
|
||||
width: $sideBarWidth;
|
||||
transition: transform var(--pure-transition-duration);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user