update Select

This commit is contained in:
梁灏 2019-09-09 15:20:27 +08:00
parent 177941f751
commit 5d8e72816d
2 changed files with 10 additions and 1 deletions

View file

@ -68,7 +68,10 @@
>
<ul v-show="showNotFoundLabel && !allowCreate" :class="[prefixCls + '-not-found']"><li>{{ localeNotFoundText }}</li></ul>
<ul :class="prefixCls + '-dropdown-list'">
<li :class="prefixCls + '-item'" v-if="showCreateItem" @click="handleCreateItem">{{ query }}</li>
<li :class="prefixCls + '-item'" v-if="showCreateItem" @click="handleCreateItem">
{{ query }}
<Icon type="ios-return-left" :class="prefixCls + '-item-enter'" />
</li>
<functional-options
v-if="(!remote) || (remote && !loading)"
:options="selectOptions"

View file

@ -52,6 +52,12 @@
top: -7px;
}
}
&-enter{
color: @primary-color;
font-weight: bold;
float: right;
}
}
.@{size-class}-large .@{item-class} {