multiSelector 怎么让默认值是请选择?
html部分
<view class="work_form_cell">
<view class="work_form_label">日期时间</view>
<view class="work_form_input weui-cell__ft_in-access">
<picker mode="multiSelector" value="{{assetStime}}" bindchange="changeAssetStime" bindcolumnchange="changeAssetStimeColumn" range="{{assetStimeArray}}">
<view class="tui-picker-detail">
{{assetStimeArray[0][assetStime[0]]}}-{{assetStimeArray[1][assetStime[1]]}}-{{assetStimeArray[2][assetStime[2]]}} {{assetStimeArray[3][assetStime[3]]}}:{{assetStimeArray[4][assetStime[4]]}}:{{assetStimeArray[5][assetStime[5]]}}
</view>
</picker>
</view>
</view>
js部分
onLoad: function (options) {
var obj = dateTimePicker.dateTimePicker(2015,'',util.formatTime(new Date()));
this.setData({
reality_date: nowTime,
assetStime: obj.dateTime,
assetStimeShow: '请选择',//想加一个这个的
assetStimeArray: obj.dateTimeArray,
})
},
由于这个multiSelector是一个数组 我需要怎么在默认值赋值为请选择?