1. Input 的 type 属性新增 number 和 tel
2. Tabs 新增属性 name 3. TabPane 新增属性 tab 4. TabPane 新增属性 index
This commit is contained in:
parent
33b3672e00
commit
a7f9d1042f
2 changed files with 14 additions and 2 deletions
4
types/input.d.ts
vendored
4
types/input.d.ts
vendored
|
@ -6,10 +6,10 @@ import Vue, { VNode } from 'vue';
|
|||
|
||||
export declare interface Input extends Vue {
|
||||
/**
|
||||
* 输入框类型,可选值为 text、password、textarea、url、email、date
|
||||
* 输入框类型,可选值为 text、password、textarea、url、email、date、number、tel
|
||||
* @default text
|
||||
*/
|
||||
type?: 'text' | 'password' | 'textarea' | 'url' | 'email' | 'date';
|
||||
type?: 'text' | 'password' | 'textarea' | 'url' | 'email' | 'date' | 'number' | 'tel';
|
||||
/**
|
||||
* 绑定的值,可使用 v-model 双向绑定
|
||||
* @default 空
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue