feat: 完成喂养计划,宠物信息填充

This commit is contained in:
ilhamtahir committed 2025-01-01 18:36:27 +08:00
1 parent 08d03cfbe0
commit 6dfcc0076a
15 files changed
+276 -38

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
<script setup lang="ts">
defineProps<{
modelValue: string
}>()
const emits = defineEmits<{
'update:modelValue': [string]
}>()
function bindDateChange(e: { detail: { value: string } }) {
emits('update:modelValue', e.detail.value)
}
</script>
<template>
<picker mode="date" :value="modelValue" @change="bindDateChange">
<view class="">
{{ modelValue }}
</view>
</picker>
</template>
<style scoped>
</style>