diff --git a/src/components/input/input.vue b/src/components/input/input.vue
index 8d2fad6..8b61fbb 100644
--- a/src/components/input/input.vue
+++ b/src/components/input/input.vue
@@ -10,6 +10,7 @@
                 :disabled="disabled"
                 :maxlength="maxlength"
                 :readonly="readonly"
+                :name="name"
                 v-model="value"
                 @keyup.enter="handleEnter"
                 @focus="handleFocus"
@@ -26,6 +27,7 @@
             :rows="rows"
             :maxlength="maxlength"
             :readonly="readonly"
+            :name="name"
             v-model="value"
             @keyup.enter="handleEnter"
             @focus="handleFocus"
@@ -80,6 +82,9 @@
             readonly: {
                 type: Boolean,
                 default: false
+            },
+            name: {
+                type: String
             }
         },
         data () {
diff --git a/test/routers/input.vue b/test/routers/input.vue
index 85e13ce..27fcc1e 100644
--- a/test/routers/input.vue
+++ b/test/routers/input.vue
@@ -1,7 +1,7 @@
 <template>
-    <i-input icon="ios-clock-outline" @on-focus="focus" @on-blur="blur" readonly style="width:200px;" :value.sync="v" @on-enter="enter" @on-click="iconclick" size="large" placeholder="请输入"></i-input>
+    <i-input name="a" icon="ios-clock-outline" @on-focus="focus" @on-blur="blur" readonly style="width:200px;" :value.sync="v" @on-enter="enter" @on-click="iconclick" size="large" placeholder="请输入"></i-input>
     <i-input icon="ios-clock-outline" style="width:200px;" :value.sync="v" @on-enter="enter" placeholder="请输入"></i-input>
-    <i-input icon="ios-clock-outline" style="width:200px;" :value.sync="v" @on-enter="enter" size="small" placeholder="请输入"></i-input>
+    <i-input name="b" icon="ios-clock-outline" style="width:200px;" :value.sync="v" @on-enter="enter" size="small" placeholder="请输入"></i-input>
     <br>
     <br>
     <i-input style="width:200px;" :value.sync="v" @on-enter="enter" size="large" placeholder="请输入"></i-input>
--
libgit2 0.21.4