Commit b6861430d170f5db4657f81c25120081b2b32a22

Authored by Lawrence Lee
1 parent a2f27a80

add test case for #1084

examples/routers/input-number.vue
... ... @@ -4,6 +4,7 @@
4 4 {{ v1 }}
5 5 <div @click="c">change v1</div>
6 6 <Input-number disabled :max="10" :min="1" :step="1.2" v-model="v2"></Input-number>
  7 + <Input-number :max="10" :min="1" v-model="obj.v"></Input-number>
7 8 </div>
8 9 </template>
9 10 <script>
... ... @@ -13,7 +14,10 @@
13 14 return {
14 15 v1: 1,
15 16 v2: 1,
16   - autofocus: true
  17 + autofocus: true,
  18 + obj: {
  19 +
  20 + }
17 21 };
18 22 },
19 23 computed: {},
... ...
examples/routers/input.vue
... ... @@ -11,6 +11,8 @@
11 11 <Input v-model="value2" placeholder="default size" icon="ios-clock-outline"></Input>
12 12 <br>
13 13 <Input v-model="value3" size="small" placeholder="small size" icon="ios-clock-outline"></Input>
  14 + <br>
  15 + <Input v-model="obj.test" type="textarea" autosize></Input>
14 16 </div>
15 17 </template>
16 18 <script>
... ... @@ -19,7 +21,10 @@
19 21 return {
20 22 value1: '',
21 23 value2: '',
22   - value3: ''
  24 + value3: '',
  25 + obj: {
  26 +
  27 + }
23 28 }
24 29 }
25 30 }
... ...