From d3eee3f46487612dfc87e1a76cda43568f51ea19 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Tue, 13 Dec 2016 11:56:28 +0800 Subject: [PATCH] fixed #123 --- src/components/input/input.vue | 2 +- test/routers/input.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/input/input.vue b/src/components/input/input.vue index 8b61fbb..39fe201 100644 --- a/src/components/input/input.vue +++ b/src/components/input/input.vue @@ -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 { diff --git a/test/routers/input.vue b/test/routers/input.vue index 27fcc1e..37fee9a 100644 --- a/test/routers/input.vue +++ b/test/routers/input.vue @@ -15,7 +15,7 @@

- + http:// -- libgit2 0.21.4