perf(CRUD):将渲染为 tags 的字段的公共搜索渲染为下拉框

This commit is contained in:
妙码生花 2023-03-16 03:41:52 +08:00
parent bd573e3270
commit a50cbad122

View File

@ -58,11 +58,14 @@
:default-value="baTable.comSearch.form[item.prop! + '-default'] ? baTable.comSearch.form[item.prop! + '-default']:new Date()" :default-value="baTable.comSearch.form[item.prop! + '-default'] ? baTable.comSearch.form[item.prop! + '-default']:new Date()"
></el-date-picker> ></el-date-picker>
<!-- tagselect --> <!-- tagtagsselect -->
<el-select <el-select
class="w100" class="w100"
:placeholder="item.operatorPlaceholder" :placeholder="item.operatorPlaceholder"
v-else-if="(item.render == 'tag' || item.comSearchRender == 'select') && item.replaceValue" v-else-if="
(item.render == 'tag' || item.render == 'tags' || item.comSearchRender == 'select') &&
item.replaceValue
"
v-model="baTable.comSearch.form[item.prop!]" v-model="baTable.comSearch.form[item.prop!]"
:clearable="true" :clearable="true"
> >