mirror of
https://gitee.com/wonderful-code/buildadmin
synced 2024-11-22 15:24:09 +00:00
perf(CRUD):将渲染为 tags 的字段的公共搜索渲染为下拉框
This commit is contained in:
parent
bd573e3270
commit
a50cbad122
@ -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>
|
||||||
|
|
||||||
<!-- tag、select -->
|
<!-- tag、tags、select -->
|
||||||
<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"
|
||||||
>
|
>
|
||||||
|
Loading…
Reference in New Issue
Block a user