修改input组件 autofocus为Boolean值
This commit is contained in:
parent
f15c216a51
commit
8d3a02a52e
4 changed files with 10 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div style="width: 300px;">
|
||||
<i-input v-model="value11" icon="ios-clock-outline" autofocus>
|
||||
<i-input v-model="value11" icon="ios-clock-outline" :autofocus="autofocus">
|
||||
<span slot="prepend">.com</span>
|
||||
</i-input>
|
||||
<i-input v-model="value11" icon="ios-clock-outline">
|
||||
|
@ -17,7 +17,8 @@
|
|||
value13: '',
|
||||
select1: 'http',
|
||||
select2: 'com',
|
||||
select3: 'day'
|
||||
select3: 'day',
|
||||
autofocus: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue