mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-10-14 23:52:59 +08:00
fix: 标题界面的 clickButton code 参数传递错误
This commit is contained in:
parent
2a59e135ba
commit
4533f5827b
@ -482,7 +482,7 @@ export const GameTitle = defineComponent<GameTitleProps>(props => {
|
||||
// 这个缩放性能影响极大,原因不明
|
||||
// scale={[v.scale.ref.value, v.scale.ref.value]}
|
||||
onEnter={() => enterMain(i)}
|
||||
onClick={() => clickButton(i)}
|
||||
onClick={() => clickButton(v.code)}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
@ -504,7 +504,7 @@ export const GameTitle = defineComponent<GameTitleProps>(props => {
|
||||
filter={buttonFilter}
|
||||
fillStyle={v.colorTrans.ref.value}
|
||||
onEnter={() => enterHard(i)}
|
||||
onClick={() => clickButton(i)}
|
||||
onClick={() => clickButton(v.code)}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
|
Loading…
Reference in New Issue
Block a user