字典调整

This commit is contained in:
ChuShiZ 2024-09-06 15:38:13 +08:00
parent 21236ed856
commit 10d72c6955

View File

@ -140,7 +140,7 @@
<view style="width: 100%; height: 60px;"></view> <view style="width: 100%; height: 60px;"></view>
</view> </view>
<view class=""> <view class="">
<u-picker :show="shows" :columns="columns" @confirm="confirmm" @cancel="cancelm" keyName="dictValue"></u-picker> <u-picker :show="shows" :columns="columns" @confirm="confirmm" @cancel="cancelm" keyName="label"></u-picker>
</view> </view>
<view class=""> <view class="">
<u-picker :show="roadVisible" :columns="roadOptions" @confirm="roadConfirm" @cancel="roadCancel" keyName="dictValue"></u-picker> <u-picker :show="roadVisible" :columns="roadOptions" @confirm="roadConfirm" @cancel="roadCancel" keyName="dictValue"></u-picker>
@ -306,7 +306,7 @@
}, },
confirmm(e) { confirmm(e) {
console.log(e); console.log(e);
this.kcname = e.value[0].dictLabel this.kcname = e.value[0].label
this.shows = false this.shows = false
}, },
cancelm() { cancelm() {