功能变化: selector-table 组件优化
parent
54273443c8
commit
c9544df61f
|
@ -54,7 +54,7 @@
|
|||
</div>
|
||||
<div slot="reference" ref="divRef" :style="{'pointerEvents': disabled?'none':''}">
|
||||
<div v-if="currentValue" class="div-input el-input__inner" :class="disabled?'div-disabled':''">
|
||||
<div>
|
||||
<div v-if="currentValue instanceof Array">
|
||||
<el-tag
|
||||
style="margin-right: 5px"
|
||||
v-for="(item,index) in currentValue"
|
||||
|
@ -70,7 +70,7 @@
|
|||
</el-tag>
|
||||
</div>
|
||||
</div>
|
||||
<el-input v-else placeholder="请选择" slot:reference clearable :disabled="disabled"></el-input>
|
||||
<el-input v-else placeholder="请选择" slot:reference clearable :disabled="disabled" :size="size"></el-input>
|
||||
</div>
|
||||
</el-popover>
|
||||
</div>
|
||||
|
@ -95,6 +95,11 @@ export default {
|
|||
required: false,
|
||||
default: ''
|
||||
},
|
||||
size: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: ''
|
||||
},
|
||||
// 数据字典配置
|
||||
dict: {
|
||||
type: Object,
|
||||
|
|
Loading…
Reference in New Issue