perf(button): naiveType 属性, 原生 type 属性

This commit is contained in:
就眠仪式
2021-10-19 22:36:09 +08:00
parent 4e3fc29d85
commit fa04937e03
2 changed files with 3 additions and 0 deletions

View File

@@ -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>