mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-08-16 18:31:48 +08:00
Fix: statistics close button
This commit is contained in:
parent
c5d1149c50
commit
e48b6431f4
@ -192,6 +192,8 @@ export const ListPage = defineComponent<
|
||||
emit('update:selected', key);
|
||||
};
|
||||
|
||||
const close = () => emit('close');
|
||||
|
||||
return () => (
|
||||
<container loc={props.loc}>
|
||||
<List
|
||||
@ -211,6 +213,7 @@ export const ListPage = defineComponent<
|
||||
text="关闭"
|
||||
cursor="pointer"
|
||||
font={props.font}
|
||||
onClick={close}
|
||||
></text>
|
||||
)}
|
||||
</container>
|
||||
|
Loading…
Reference in New Issue
Block a user