mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-08-17 02:51:46 +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);
|
emit('update:selected', key);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const close = () => emit('close');
|
||||||
|
|
||||||
return () => (
|
return () => (
|
||||||
<container loc={props.loc}>
|
<container loc={props.loc}>
|
||||||
<List
|
<List
|
||||||
@ -211,6 +213,7 @@ export const ListPage = defineComponent<
|
|||||||
text="关闭"
|
text="关闭"
|
||||||
cursor="pointer"
|
cursor="pointer"
|
||||||
font={props.font}
|
font={props.font}
|
||||||
|
onClick={close}
|
||||||
></text>
|
></text>
|
||||||
)}
|
)}
|
||||||
</container>
|
</container>
|
||||||
|
Loading…
Reference in New Issue
Block a user