mirror of https://github.com/ElemeFE/element
				
				
				
			
						commit
						aaf9999b90
					
				|  | @ -138,3 +138,4 @@ Button 组件提供除了默认值以外的三种尺寸,可以在不同场景 | |||
| | plain     | 是否朴素按钮   | Boolean    | true,false | false   | | ||||
| | disabled  | 禁用    | boolean   | true, false   | false   | | ||||
| | icon  | 图标,已有的图标库中的图标名 | string   |    |    | | ||||
| | native-type | 原生 type 属性 | string | button,submit,reset | button | | ||||
|  |  | |||
|  | @ -1,5 +1,6 @@ | |||
| <template> | ||||
|   <button :disabled="disabled" class="el-button" | ||||
|     :type="nativeType" | ||||
|     :class="[ | ||||
|       type ? 'el-button-' + type : '', | ||||
|       size ? 'el-button-' + size : '', | ||||
|  | @ -32,6 +33,10 @@ | |||
|         type: String, | ||||
|         default: '' | ||||
|       }, | ||||
|       nativeType: { | ||||
|         type: String, | ||||
|         default: 'button' | ||||
|       }, | ||||
|       loading: { | ||||
|         type: Boolean, | ||||
|         default: false | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 baiyaaaaa
						baiyaaaaa