fixed #123
This commit is contained in:
梁灏 2016-12-13 11:56:28 +08:00
parent db8d1f7de7
commit d3eee3f464
2 changed files with 2 additions and 2 deletions

View file

@ -160,7 +160,7 @@
}
},
ready () {
if (this.type === 'text') {
if (this.type !== 'textarea') {
this.prepend = this.$els.prepend.innerHTML !== '';
this.append = this.$els.append.innerHTML !== '';
} else {

View file

@ -15,7 +15,7 @@
<br>
<br>
<div style="width: 400px">
<i-input :value.sync="v">
<i-input :value.sync="v" type="password">
<span slot="prepend">http://</span>
<span slot="append">
<i-button icon="ios-search"></i-button>