上网查询之后发现是picker标签的原因。开始的代码
<u-cell-item title="仓库" :value="housetext" >
<view class="uni-list">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<picker @change="bindPickerChange" :value="index" :range="houseList" range-key="name">
<view class="uni-input">{{ houseList[index].name }}</view>
</picker>
</view>
</view>
</view>
</u-cell-item>
需要判别houseList && houseList.length>0 ,加上v-if判断, 好了
<u-cell-item title="仓库" :value="housetext" >
<view class="uni-list">
<view class="uni-list-cell">
<view class="uni-list-cell-db">
<view v-if="houseList && houseList.length>0">
<picker @change="bindPickerChange" :value="index" :range="houseList" range-key="name">
<view class="uni-input">{{ houseList[index].name }}</view>
</picker>
</view>
</view>
</view>
</view>
</u-cell-item>