-
-
Notifications
You must be signed in to change notification settings - Fork 341
Closed
Labels
🐞bug: need confirm待确认的bug待确认的bug
Description
Wot Design Uni 版本号
1.3.14
平台
微信小程序
复现Demo地址(如不提供,将被直接关闭)
https://github.com/yulingboy/uni_test.git
重现步骤
1、引入DatetimePicker 日期时间选择器(wd-datetime-picker);
2、将类型设置为time(type="time");
3、将v-model的值设置为空数组;
完整代码如下:
<script setup lang="ts">
const timeRange = ref([])
function handleConfirm({ value }) {
console.log(value)
}
</script>
<template>
<view>
<wd-datetime-picker v-model="timeRange" label="日期选择" type="time" @confirm="handleConfirm" />
</view>
</template>
<style></style>
<route type="home" lang="json">
{
"layout": "tabbar",
"name": "home",
"style": {
"navigationBarTitleText": "home"
}
}
</route>
期望的结果是什么?
时间选择器能正常价值
实际的结果是什么?
环境信息
发行平台:微信小程序
其他补充信息
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
🐞bug: need confirm待确认的bug待确认的bug

