diff --git a/.changeset/tidy-moles-share.md b/.changeset/tidy-moles-share.md new file mode 100644 index 0000000..0ca467c --- /dev/null +++ b/.changeset/tidy-moles-share.md @@ -0,0 +1,5 @@ +--- +"@simsustech/quasar-components": patch +--- + +fix(QSubmitButton): set loading prop default to undefined diff --git a/packages/components/src/ui/general/QSubmitButton.vue b/packages/components/src/ui/general/QSubmitButton.vue index 37c7c0c..dfa7cbd 100644 --- a/packages/components/src/ui/general/QSubmitButton.vue +++ b/packages/components/src/ui/general/QSubmitButton.vue @@ -32,7 +32,8 @@ export interface Props { } const props = withDefaults(defineProps(), { type: 'submit', - color: 'primary' + color: 'primary', + loading: undefined }) const { type, isNextButton } = toRefs(props)