Fix: statistics close button

This commit is contained in:
qdzwxe 2025-08-12 19:54:26 +08:00
parent c5d1149c50
commit e48b6431f4

View File

@ -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>