chore: make some improvement (#8255)

* chore: make some improvement

* chore: upd
This commit is contained in:
neverland
2021-03-03 17:13:45 +08:00
committed by GitHub
parent 2d8914c2c8
commit d606b32c64
7 changed files with 21 additions and 16 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
import { PropType, CSSProperties } from 'vue';
import { PropType, CSSProperties, ButtonHTMLAttributes } from 'vue';
// Utils
import { createNamespace } from '../utils';
@@ -49,7 +49,7 @@ export default createComponent({
default: 'normal',
},
nativeType: {
type: String,
type: String as PropType<ButtonHTMLAttributes['type']>,
default: 'button',
},
loadingSize: {