mirror of
				https://github.com/unanmed/HumanBreak.git
				synced 2025-10-31 04:02:59 +08:00 
			
		
		
		
	chore:修正存档界面按键监听事件的命名
This commit is contained in:
		
							parent
							
								
									2906b6ec79
								
							
						
					
					
						commit
						1f6cbea3ac
					
				| @ -128,23 +128,23 @@ export const Save = defineComponent<SaveProps, SaveEmits, keyof SaveEmits>( | |||||||
|             emitSave(pageCap * currPage + pickIndex.value); |             emitSave(pageCap * currPage + pickIndex.value); | ||||||
|         }) |         }) | ||||||
|             .realize('exit', exit) |             .realize('exit', exit) | ||||||
|             .realize('save_exit', exit) |             .realize('@save_exit', exit) | ||||||
|             .realize( |             .realize( | ||||||
|                 'save_pageUp', |                 '@save_pageUp', | ||||||
|                 () => { |                 () => { | ||||||
|                     pageRef.value?.movePage(1); |                     pageRef.value?.movePage(1); | ||||||
|                 }, |                 }, | ||||||
|                 { type: 'down-repeat' } |                 { type: 'down-repeat' } | ||||||
|             ) |             ) | ||||||
|             .realize( |             .realize( | ||||||
|                 'save_pageDown', |                 '@save_pageDown', | ||||||
|                 () => { |                 () => { | ||||||
|                     pageRef.value?.movePage(-1); |                     pageRef.value?.movePage(-1); | ||||||
|                 }, |                 }, | ||||||
|                 { type: 'down-repeat' } |                 { type: 'down-repeat' } | ||||||
|             ) |             ) | ||||||
|             .realize( |             .realize( | ||||||
|                 'save_up', |                 '@save_up', | ||||||
|                 () => { |                 () => { | ||||||
|                     if (pickIndex.value >= row) pickIndex.value -= column; |                     if (pickIndex.value >= row) pickIndex.value -= column; | ||||||
|                     else { |                     else { | ||||||
| @ -155,7 +155,7 @@ export const Save = defineComponent<SaveProps, SaveEmits, keyof SaveEmits>( | |||||||
|                 { type: 'down-repeat' } |                 { type: 'down-repeat' } | ||||||
|             ) |             ) | ||||||
|             .realize( |             .realize( | ||||||
|                 'save_down', |                 '@save_down', | ||||||
|                 () => { |                 () => { | ||||||
|                     if (pickIndex.value <= pageCap - row) |                     if (pickIndex.value <= pageCap - row) | ||||||
|                         pickIndex.value += column; |                         pickIndex.value += column; | ||||||
| @ -167,7 +167,7 @@ export const Save = defineComponent<SaveProps, SaveEmits, keyof SaveEmits>( | |||||||
|                 { type: 'down-repeat' } |                 { type: 'down-repeat' } | ||||||
|             ) |             ) | ||||||
|             .realize( |             .realize( | ||||||
|                 'save_left', |                 '@save_left', | ||||||
|                 () => { |                 () => { | ||||||
|                     if (pickIndex.value > 0) pickIndex.value--; |                     if (pickIndex.value > 0) pickIndex.value--; | ||||||
|                     else { |                     else { | ||||||
| @ -178,7 +178,7 @@ export const Save = defineComponent<SaveProps, SaveEmits, keyof SaveEmits>( | |||||||
|                 { type: 'down-repeat' } |                 { type: 'down-repeat' } | ||||||
|             ) |             ) | ||||||
|             .realize( |             .realize( | ||||||
|                 'save_right', |                 '@save_right', | ||||||
|                 () => { |                 () => { | ||||||
|                     if (pickIndex.value < pageCap) pickIndex.value++; |                     if (pickIndex.value < pageCap) pickIndex.value++; | ||||||
|                     else { |                     else { | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 ShakeFlower
						ShakeFlower