|
@@ -10,7 +10,6 @@
|
|
|
:popup-title="'请选择' + item[labelValue]"
|
|
|
:map="item.map || { text: 'label', value: 'value' }"
|
|
|
@change="e => handleClick(e, item)"
|
|
|
- @nodeclick="handleChange"
|
|
|
>
|
|
|
<view v-if="error" class="error">
|
|
|
<text>{{error}}</text>
|
|
@@ -62,8 +61,6 @@ const handleClear = (item, index) => {
|
|
|
emit('change', item.key, item.value)
|
|
|
}
|
|
|
|
|
|
-const handleChange = () => {}
|
|
|
-
|
|
|
// 获取字典数据
|
|
|
const getData = (e) => {
|
|
|
getDict(e.dictType, e.map ? {} : null, e.map ? e.dictType : 'dict').then(({ data }) => {
|
|
@@ -94,18 +91,12 @@ watch(() => props.list,
|
|
|
.labelColor { color: #5c5c5c; }
|
|
|
.marginT2 { margin-top: 2px; }
|
|
|
.itemBox {
|
|
|
- width: 100%;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
- // flex-wrap: wrap;
|
|
|
- padding: 0 10rpx;
|
|
|
.item {
|
|
|
- // width: 20%;
|
|
|
- // max-width: 20%;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
font-size: 14px;
|
|
|
- // flex-wrap: wrap;
|
|
|
}
|
|
|
}
|
|
|
.popup {
|