vue-devui 1.5.15 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1184,6 +1184,10 @@ const buttonProps = {
1184
1184
  },
1185
1185
  shape: {
1186
1186
  type: String
1187
+ },
1188
+ nativeType: {
1189
+ type: String,
1190
+ default: "button"
1187
1191
  }
1188
1192
  };
1189
1193
  const buttonGroupProps = {
@@ -6653,7 +6657,8 @@ var Button = defineComponent({
6653
6657
  const {
6654
6658
  icon: icon2,
6655
6659
  disabled,
6656
- loading: loading2
6660
+ loading: loading2,
6661
+ nativeType
6657
6662
  } = toRefs(props);
6658
6663
  const {
6659
6664
  classes,
@@ -6670,7 +6675,8 @@ var Button = defineComponent({
6670
6675
  return createVNode("button", {
6671
6676
  "class": classes.value,
6672
6677
  "disabled": disabled.value,
6673
- "onClick": onClick
6678
+ "onClick": onClick,
6679
+ "type": nativeType.value
6674
6680
  }, [icon2.value && createVNode(Icon, {
6675
6681
  "name": icon2.value,
6676
6682
  "size": "var(--devui-font-size, 12px)",