feat: add clearable option to 'is_active' search field in user management
This commit is contained in:
parent
eac7a6bbb0
commit
93b63dd18c
@ -93,6 +93,7 @@
|
|||||||
v-else-if="search_type === 'is_active'"
|
v-else-if="search_type === 'is_active'"
|
||||||
v-model="search_form.is_active"
|
v-model="search_form.is_active"
|
||||||
@change="getList"
|
@change="getList"
|
||||||
|
clearable
|
||||||
style="width: 220px"
|
style="width: 220px"
|
||||||
>
|
>
|
||||||
<el-option :label="$t('common.status.enabled')" :value="true"/>
|
<el-option :label="$t('common.status.enabled')" :value="true"/>
|
||||||
|
|||||||
@ -54,6 +54,7 @@
|
|||||||
v-else-if="search_type === 'is_active'"
|
v-else-if="search_type === 'is_active'"
|
||||||
v-model="search_form.is_active"
|
v-model="search_form.is_active"
|
||||||
@change="getList"
|
@change="getList"
|
||||||
|
clearable
|
||||||
style="width: 220px"
|
style="width: 220px"
|
||||||
>
|
>
|
||||||
<el-option :label="$t('common.status.enabled')" :value="true" />
|
<el-option :label="$t('common.status.enabled')" :value="true" />
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user