细节完善

This commit is contained in:
kron
2025-07-18 22:17:17 +08:00
parent 115e0cefbb
commit c8728786e6
12 changed files with 41 additions and 51 deletions
+3 -1
View File
@@ -20,7 +20,9 @@ const props = defineProps({
},
});
onMounted(() => {
updateUser({ ...user.value, lvl: props.lvl });
if (props.lvl > user.value.lvl) {
updateUser({ ...user.value, lvl: props.lvl });
}
});
</script>