From 42d5412a07727137bc9cf0a708e364b6a1967a39 Mon Sep 17 00:00:00 2001 From: 梁灏 Date: Wed, 27 Jun 2018 14:23:09 +0800 Subject: [PATCH] Input add prop prefix & suffix, also add slot prefix & suffix --- examples/routers/input.vue | 194 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------- src/components/input/input.vue | 20 ++++++++++++++++++-- src/styles/components/input.less | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 177 insertions(+), 76 deletions(-) diff --git a/examples/routers/input.vue b/examples/routers/input.vue index 81392c6..99fef1c 100644 --- a/examples/routers/input.vue +++ b/examples/routers/input.vue @@ -1,82 +1,128 @@ @@ -84,7 +130,7 @@ export default { data () { return { - value: '', + value: '你好你好你真好你好你好你真好你好你好你真好你好你好你真好', value11: '', value12: '', value13: '', diff --git a/src/components/input/input.vue b/src/components/input/input.vue index 8545c3c..1f9e6cc 100644 --- a/src/components/input/input.vue +++ b/src/components/input/input.vue @@ -4,6 +4,7 @@
+ @@ -31,6 +32,7 @@ @input="handleInput" @change="handleChange">
+