1. Input 的 type 属性新增 number 和 tel

2. Tabs 新增属性 name
3. TabPane 新增属性 tab
4. TabPane 新增属性 index
This commit is contained in:
yangd 2019-03-18 12:44:05 +08:00
parent 33b3672e00
commit a7f9d1042f
2 changed files with 14 additions and 2 deletions

4
types/input.d.ts vendored
View file

@ -6,10 +6,10 @@ import Vue, { VNode } from 'vue';
export declare interface Input extends Vue {
/**
* textpasswordtextareaurlemaildate
* textpasswordtextareaurlemaildatenumbertel
* @default text
*/
type?: 'text' | 'password' | 'textarea' | 'url' | 'email' | 'date';
type?: 'text' | 'password' | 'textarea' | 'url' | 'email' | 'date' | 'number' | 'tel';
/**
* 使 v-model
* @default