form表单提交获取picker mode="region"的数据?
<view class="sectionsregion">
<view class="section__title">查询天气位置</view>
<picker mode="region" bindchange="bindRegionChange" name="region">
<view class="picker">
当前选择:{{region[0]}},{{region[1]}},{{region[2]}}
</view>
</picker>
</view>
js
method: "POST",
data:
{
msg1: e.detail.value.msg1,
msg2: e.detail.value.msg2,
color:e.detail.value.color,
region: e.details.code.region
}, 萌新请教一下怎么获取picker mode="region"的数据再data的数据中post提交