chore:修正存档界面按键监听事件的命名

This commit is contained in:
ShakeFlower committed 2025-06-19 15:16:50 +08:00
1 parent 3cab218a36
commit 2906b6ec79
2 files changed
+14 -14

No files matched your search

@@ -128,23 +128,23 @@ export const Save = defineComponent<SaveProps, SaveEmits, keyof SaveEmits>(
emitSave(pageCap * currPage + pickIndex.value);
})
.realize('exit', exit)
.realize('@ui_save_exit', exit)
.realize('save_exit', exit)
.realize(
'@ui_save_pageUp',
'save_pageUp',
() => {
pageRef.value?.movePage(1);
},
{ type: 'down-repeat' }
)
.realize(
'@ui_save_pageDown',
'save_pageDown',
() => {
pageRef.value?.movePage(-1);
},
{ type: 'down-repeat' }
)
.realize(
'@ui_save_up',
'save_up',
() => {
if (pickIndex.value >= row) pickIndex.value -= column;
else {
@@ -155,7 +155,7 @@ export const Save = defineComponent<SaveProps, SaveEmits, keyof SaveEmits>(
{ type: 'down-repeat' }
)
.realize(
'@ui_save_down',
'save_down',
() => {
if (pickIndex.value <= pageCap - row)
pickIndex.value += column;
@@ -167,7 +167,7 @@ export const Save = defineComponent<SaveProps, SaveEmits, keyof SaveEmits>(
{ type: 'down-repeat' }
)
.realize(
'@ui_save_left',
'save_left',
() => {
if (pickIndex.value > 0) pickIndex.value--;
else {
@@ -178,7 +178,7 @@ export const Save = defineComponent<SaveProps, SaveEmits, keyof SaveEmits>(
{ type: 'down-repeat' }
)
.realize(
'@ui_save_right',
'save_right',
() => {
if (pickIndex.value < pageCap) pickIndex.value++;
else {