fixed #77
This commit is contained in:
梁灏 2016-11-12 20:14:06 +08:00
parent f2be585e5e
commit 6c145a0466
6 changed files with 15 additions and 3 deletions

View file

@ -4,7 +4,7 @@
<div :class="[prefixCls + '-group-prepend']" v-if="prepend" v-el:prepend><slot name="prepend"></slot></div>
<i class="ivu-icon" :class="['ivu-icon-' + icon, prefixCls + '-icon']" v-if="icon" @click="handleIconClick"></i>
<input
type="text"
:type="type"
:class="inputClasses"
:placeholder="placeholder"
:disabled="disabled"
@ -37,7 +37,7 @@
props: {
type: {
validator (value) {
return oneOf(value, ['text', 'textarea']);
return oneOf(value, ['text', 'textarea', 'password']);
},
default: 'text'
},

View file

@ -49,4 +49,11 @@
margin: 5px;
font-size: 14px;
}
a[target="_blank"]:after{
content: "\F220";
font-family: Ionicons;
color: #aaa;
margin-left: 3px;
}
}