Browse Source

tableform 输入框 兼容独立禁用设置

master
陈薪名 1 year ago
parent
commit
fe6073c172
  1. 2
      src/components/TableForm/src/TableForm.vue

2
src/components/TableForm/src/TableForm.vue

@ -63,7 +63,7 @@
clearable
:type="headerItem?.tableForm?.inputType"
:placeholder="headerItem?.tableForm?.placeholder || '请输入' + headerItem.label"
:disabled="headerItem?.tableForm?.isInpuFocusShow ? true : false"
:disabled="headerItem?.tableForm?.disabled ? true: headerItem?.tableForm?.isInpuFocusShow ? true : false"
style="flex:1"
/>
<el-button v-if="headerItem?.tableForm?.isInpuFocusShow" @click="inpuFocus(headerItem,row,index)"><Icon icon="ep:search" size="14"/></el-button>

Loading…
Cancel
Save