perf(button): naiveType 属性, 原生 type 属性
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
border ? 'layui-border-' + border : '',
|
||||
disabled ? 'layui-btn-disabled' : '',
|
||||
]"
|
||||
:type="nativeType"
|
||||
>
|
||||
<i
|
||||
v-if="loading"
|
||||
@@ -36,5 +37,6 @@ const props =
|
||||
border?: string
|
||||
disabled?: boolean
|
||||
loading?: boolean
|
||||
nativeType?: string
|
||||
}>()
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user