picker组件,选择日期,mode="date",但在钉钉小程序里选择日期面板时,不只出现日期,还出现 时:分 选择,代码如下:
<view class="cu-bar bg-white solid-bottom sd">
<view class="action">
<text class="cuIcon-title text-red"></text>
<div class='title'>出厂日期</div>
<picker mode="date" :value="item.dateOfProduction" @change="changeProductionDate">
<view class="uni-input">{{item.dateOfProduction}}</view>
</picker>
</view>
</view>